Credential vault API - JSON models
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.
Variations of the Credentials
object
The Credentials
object is the base for all credentials. The actual set of fields depends on the type of the credentials.
CERTIFICATE
The CertificateCredentials
object
A credentials set of the CERTIFICATE
type.
The certificate in the string format.
The certificate format.
PEM
PKCS12
UNKNOWN
The password of the credential (Base64 encoded).
{"name": "string","id": "string","description": "string","password": "string","ownerAccessOnly": true,"type": "CERTIFICATE","certificate": "string"}
TOKEN
The TokenCredentials
object
A credentials set of the TOKEN
type.
Token in the string format.
The ExternalVault
object
Information for synchronization credentials with external vault
Id of a location used by the synchronizing monitor
The name of the secret saved in external vault where password is stored.
Defines the actual set of fields depending on the value. See one of the following objects:
HASHICORP_VAULT_APPROLE
-> HashicorpApproleHASHICORP_VAULT_CERTIFICATE
-> HashicorpCertificateAZURE_KEY_VAULT_CLIENT_SECRET
-> AzureClientSecretCYBERARK_VAULT_USERNAME_PASSWORD
-> CyberArkUsernamePasswordCYBERARK_VAULT_ALLOWED_LOCATION
-> CyberArkAllowedLocationDto
AZURE_KEY_VAULT_CLIENT_SECRET
CYBERARK_VAULT_ALLOWED_LOCATION
CYBERARK_VAULT_USERNAME_PASSWORD
HASHICORP_VAULT_APPROLE
HASHICORP_VAULT_CERTIFICATE
The name of the secret saved in external vault where token is stored.
The name of the secret saved in external vault where username is stored.
External vault URL.
{"name": "string","id": "string","description": "string","password": "string","ownerAccessOnly": true,"type": "TOKEN","token": "string"}
USERNAME_PASSWORD
The UserPasswordCredentials
object
A credentials set of the USERNAME_PASSWORD
type.
The password of the credential.
The username of the credentials set.
The ExternalVault
object
Information for synchronization credentials with external vault
Id of a location used by the synchronizing monitor
The name of the secret saved in external vault where password is stored.
Defines the actual set of fields depending on the value. See one of the following objects:
HASHICORP_VAULT_APPROLE
-> HashicorpApproleHASHICORP_VAULT_CERTIFICATE
-> HashicorpCertificateAZURE_KEY_VAULT_CLIENT_SECRET
-> AzureClientSecretCYBERARK_VAULT_USERNAME_PASSWORD
-> CyberArkUsernamePasswordCYBERARK_VAULT_ALLOWED_LOCATION
-> CyberArkAllowedLocationDto
AZURE_KEY_VAULT_CLIENT_SECRET
CYBERARK_VAULT_ALLOWED_LOCATION
CYBERARK_VAULT_USERNAME_PASSWORD
HASHICORP_VAULT_APPROLE
HASHICORP_VAULT_CERTIFICATE
The name of the secret saved in external vault where token is stored.
The name of the secret saved in external vault where username is stored.
External vault URL.
{"name": "string","id": "string","description": "string","password": "string","ownerAccessOnly": true,"type": "USERNAME_PASSWORD","user": "string"}