createCredential
Creates a new credential for a project.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
credentialName |
String |
The name of the credential. (Required) |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees Flow. |
password |
String |
The password for the credential. Can also be a certificate or any other chunk of data. |
passwordRecoveryAllowed |
Boolean |
If true, recovering the password by invoking getFullCredential from a job step is allowed. |
userName |
String |
The user name for the credential. |
deleteCredential
getCredential
getCredentials
getFullCredential
Find a credential by name from within a running step, including the password.
When invoked in the context of a job step, COMMANDER_JOBSTEPID will be automatically set as the jobStepId argument value unless jobStepId is already specified.
modifyCredential
Modifies an existing credential.
Arguments
Argument Name | Type | Description |
---|---|---|
projectName |
String |
The name for the project that must be unique among all projects. (Required) |
credentialName |
String |
The name of the credential. (Required) |
description |
String |
Comment text describing this object that is not interpreted at all by CloudBees Flow. |
newName |
String |
New name for an existing object that is being renamed. |
password |
String |
The password for the credential. Can also be a certificate or any other chunk of data. |
passwordRecoveryAllowed |
Boolean |
If true, recovering the password by invoking getFullCredential from a job step is allowed. |
userName |
String |
The user name for the credential. |