Back to index
Summary
A username/password stored in the server as encrypted data. Typically used in an agent context to authenticate with a third-party system. The password value is not available in the web context for security reasons, so this object has no getPassword method.credentialNameStringrequiredThe name of the credential. projectNameStringrequiredThe name for the project that must be unique among all projects. credentialProviderNameStringoptionalName of the credential provider where the credential secret is stored. credentialProviderProjectNameStringoptionalName of the credential provider project, if different from the credential project. credentialTypeStringoptionalCredential type. Default is LOCAL. descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. newNameStringoptionalThe new name for an existing object that is being renamed. passwordStringoptionalThe password for the credential. Can also be a certificate or any other chunk of data. passwordRecoveryAllowedStringoptionalIf true, recovering the password by invoking getFullCredential from a job step is allowed. secretPathStringoptionalName of the folder where the password is stored. testStringoptionalApplicable if credentialProviderName is specified. Whether to test that the credential exists in the secret management system prior to saving. Defaults to true. userNameStringoptionalThe user name for the credential. virtualUserNameStringoptionalApplicable for cyberark ccp provider type. This property identifies two identically provisioned accounts in a dual accounts pair under one virtual username. |
Usage
There are no usage examples available forcredential
.