Back to index
Summary
Attaches a credential to an object, such as a step or a schedule. Attaching a credential allows the credential to be passed as an actual argument by a schedule or subprocedure step, or to be used in agetFullCredential
call by a command step.projectNameStringrequiredThe name for the project that must be unique among all projects. credentialNameStringrequiredThe name of the credential. applicationNameStringoptionalThe name of the application, if attaching a credential to an application process, or application process step. applicationProjectNameStringoptionalThe name of the project containing specified application. If not specified, it is defaulted to the release project name. catalogItemNameStringoptionalThe name of the catalog item, if attaching a credential to a catalog item. catalogNameStringoptionalThe name of the catalog, if attaching a credential to a catalog. componentNameStringoptionalThe name of the component, if attaching a credential to a component, component process, or component process step. deployerTaskNameStringoptionalThe name of the deployer task mapped to the deployer configuration. gateTypeStringoptionalThe type of the gate. Possible values: "POST" , "PRE" microserviceNameStringoptionalThe name of the microservice, if attaching a credential to a microservice process. pipelineNameStringoptionalThe name of the pipeline, if attaching a credential to a stage task. procedureNameStringoptionalThe name of the procedure, if attaching a credential to a procedure or a procedure step. processNameStringoptionalThe name of the process, if attaching a credential to a process or a process step. processStepNameStringoptionalThe name of the process step, if attaching a credential to a process step. releaseNameStringoptionalThe name of the release, if attaching a credential to a release. scheduleNameStringoptionalThe name of the schedule, if attaching a credential to a schedule. stageNameStringoptionalThe name of the stage, if attaching a credential to its task. stateDefinitionNameStringoptionalThe name of the workflow state definition, if attaching a credential to a state definition. stepNameStringoptionalThe name of the procedure step, if attaching a credential to a procedure step. taskNameStringoptionalThe name of the task, if attaching a credential to a task. triggerNameStringoptionalThe name of the trigger, if attaching a credential to a trigger. workflowDefinitionNameStringoptionalThe name of the workflow, if attaching a credential to a state definition. |
Usage
Perl
$cmdr->attachCredential( "test-projectName", # projectName "test-credentialName" # credentialName # optionals );
ectool
ectool attachCredential \ "test-projectName" `# projectName` \ "test-credentialName" `# credentialName` \ # optionals