This API is deprecated. Use the Credential vault API from the Environment API instead.
JSON models of the Credential vault API vary depending on the type of the object. Here you can find JSON models for each variation.
Credentials
objectThe Credentials
object is the base for all credentials. The actual set of fields depends on the type of the credentials.
CertificateCredentials
objectA credentials set of the CERTIFICATE
type.
Element | Type | Description |
---|---|---|
certificate | string | String containing the certificate file bytes encoded in Base64 without carriage return. |
certificateFormat | string | The certificate format. Use
|
password | string | The password of the credential encoded in Base64. Must be empty for |
Use the following unix command to convert password string to Base64:
echo -n testPassword | base64
Use the following unix command to convert certificate file to Base64:
base64 -i myCertFile.pfx
PublicCertificateCredentials
objectA credentials set of the PUBLIC_CERTIFICATE
type.
Element | Type | Description |
---|---|---|
certificate | string | The certificate in the string format. |
certificateFormat | string | The certificate format.
|
password | string | The password of the credential (not supported). |
TokenCredentials
objectA credentials set of the TOKEN
type.
Element | Type | Description |
---|---|---|
externalVault | External | Information for synchronization credentials with external vault |
token | string | Token in the string format. |
ExternalVault
objectInformation for synchronization credentials with external vault
Element | Type | Description |
---|---|---|
locationForSynchronizationId | string | Id of a location used by the synchronizing monitor |
passwordSecretName | string | The name of the secret saved in external vault where password is stored. |
sourceAuthMethod | string | Defines the actual set of fields depending on the value. See one of the following objects:
|
tokenSecretName | string | The name of the secret saved in external vault where token is stored. |
usernameSecretName | string | The name of the secret saved in external vault where username is stored. |
vaultUrl | string | External vault URL. |
UserPasswordCredentials
objectA credentials set of the USERNAME_PASSWORD
type.
Element | Type | Description |
---|---|---|
externalVault | External | Information for synchronization credentials with external vault |
password | string | The password of the credential. |
user | string | The username of the credentials set. |
ExternalVault
objectInformation for synchronization credentials with external vault
Element | Type | Description |
---|---|---|
locationForSynchronizationId | string | Id of a location used by the synchronizing monitor |
passwordSecretName | string | The name of the secret saved in external vault where password is stored. |
sourceAuthMethod | string | Defines the actual set of fields depending on the value. See one of the following objects:
|
tokenSecretName | string | The name of the secret saved in external vault where token is stored. |
usernameSecretName | string | The name of the secret saved in external vault where username is stored. |
vaultUrl | string | External vault URL. |