Back to index
Summary
Modifies an existing credential provider.| projectNameStringrequiredName of the project that the credential provider belongs to. credentialProviderNameStringrequiredUnique name of the credential provider within the project. accountNameStringoptionalApplicable for  cyberarkprovider type. Name of the account where the passwords will be retrieved from.applicationIdStringoptionalApplicable for  cyberarkprovider type. Unique application ID that is defined in the vault.authMethodsMappingStringoptionalApplicable for  hashicorpprovider type. Mapping in JSON format for authentication methods (for example, {"approle":"someapprolemapping", "userpass":"someuserpassmapping"}).cyberarkProviderStringoptionalApplicable for  cyberarkprovider type. The CyberArk credential provider type or the access provider to use.Possible values:  "CCP","DAP"cyberarkSafeStringoptionalApplicable for  cyberarkprovider type. Name of the safe where the passwords will be retrieved from.descriptionStringoptionalComment text describing this object that is not interpreted at all by CloudBees CD/RO. keyPasswordStringoptionalApplicable for  cyberarkprovider type. Password for the key.namespaceStringoptionalApplicable for  hashicorpprovider type. The namespace within the Vault Enterprise instance to use.newNameStringoptionalThe new name for an existing object that is being renamed. passwordStringoptionalApplicable for  cyberarkandhashicorpprovider types. Password for the connection to the server.providerTypeStringoptionalCredential provider type. Possible values:  "CYBERARK","HASHICORP"reasonStringoptionalApplicable for  cyberarkprovider type. Reason for credential request.roleIdStringoptionalApplicable for  hashicorpprovider type. RoleID of the role used by the AppRole authentication mechanism within Vault.secretEnginePathStringoptionalApplicable for  hashicorpprovider type. Path at which the specified secret engine is enabled.secretEngineTypeStringoptionalApplicable for  hashicorpprovider type. Name of the secret engine.Possible values:  "CUBBYHOLE","KV1","KV2"secretIdStringoptionalApplicable for  hashicorpprovider type. SecretID used by the AppRole authentication mechanism.serverUrlStringoptionalApplicable for  cyberarkandhashicorpprovider types. URL for connecting to the credential provider. If using an IPv6 address, enclose the address in square brackets. Example:[<IPv6-ADDRESS>].storeStringoptionalApplicable for  cyberarkprovider type. PKCS 12 storage with certificates and keys for connection to the server.storePasswordStringoptionalApplicable for  cyberarkprovider type. Password for the store.testConnectionBooleanoptionalSpecifies if the connection to the CI server should be tested before saving the configuration. The default is  false.testSecretStringoptionalApplicable for  cyberark CCPprovider type. Test secret to test the connection for a CCP credential provider type.tokenStringoptionalApplicable for  hashicorpprovider type. Token for the connection to the HashiCorp Vault server.useResponseWrappingBooleanoptionalIf true, the secretID will be unwrapped before saving. Defaults to false. userNameStringoptionalApplicable for  cyberarkandhashicorpprovider types. User name for the connection to the server. | 
Usage
Perl
$cmdr->modifyCredentialProvider( "test-projectName", # projectName "test-credentialProviderName" # credentialProviderName # optionals );
ectool
ectool modifyCredentialProvider \ "test-projectName" `# projectName` \ "test-credentialProviderName" `# credentialProviderName` \ # optionals