detachCredential

Back to index

Summary

Detach a credential from an object.
Depending on where the credential is attached, you must specify a step (using procedureName and stepName) or define a schedule (using scheduleName).
projectName
Stringrequired
The name for the project that must be unique among all projects.
credentialName
Stringrequired
The name of the credential.
applicationName
Stringoptional
The name of the application, if attaching a credential to an application process, or application process step.
applicationProjectName
Stringoptional
The name of the project containing specified application. If not specified, it is defaulted to the release project name.
catalogItemName
Stringoptional
The name of the catalog item, if attaching a credential to a catalog item.
catalogName
Stringoptional
The name of the catalog, if attaching a credential to a catalog.
componentName
Stringoptional
The name of the component, if attaching a credential to a component, component process, or component process step.
deployerTaskName
Stringoptional
The name of the deployer task mapped to the deployer configuration.
gateType
Stringoptional
The type of the gate.
Possible values: "POST", "PRE"
microserviceName
Stringoptional
The name of the microservice, if attaching a credential to a microservice process.
pipelineName
Stringoptional
The name of the pipeline, if attaching a credential to a stage task.
procedureName
Stringoptional
The name of the procedure, if attaching a credential to a procedure or a procedure step.
processName
Stringoptional
The name of the process, if attaching a credential to a process or a process step.
processStepName
Stringoptional
The name of the process step, if attaching a credential to a process step.
releaseName
Stringoptional
The name of the release, if attaching a credential to a release.
scheduleName
Stringoptional
The name of the schedule, if attaching a credential to a schedule.
stageName
Stringoptional
The name of the stage, if attaching a credential to its task.
stateDefinitionName
Stringoptional
The name of the workflow state definition, if attaching a credential to a state definition.
stepName
Stringoptional
The name of the procedure step, if attaching a credential to a procedure step.
taskName
Stringoptional
The name of the task, if attaching a credential to a task.
triggerName
Stringoptional
The name of the trigger, if attaching a credential to a trigger.
workflowDefinitionName
Stringoptional
The name of the workflow, if attaching a credential to a state definition.

Usage

Perl

$cmdr->detachCredential( "test-projectName", # projectName "test-credentialName" # credentialName # optionals );

ectool

ectool detachCredential \ "test-projectName" `# projectName` \ "test-credentialName" `# credentialName` \ # optionals

Examples

Perl

$cmdr->detachCredential("Default", "Preflight User", {procedureName => "Run Build", stepName => "Get Sources"}); $cmdr->detachCredential("Default", "Preflight User", {scheduleName => "Build Schedule"});

ectool

ectool detachCredential "Default" "Preflight User" --procedureName "Run Build" --stepName "Get Sources" ectool detachCredential "Test Proj" "Preflight User" --scheduleName "Build Schedule"