Vaults

Rotate a vault credential

Rotates a vault credential's write-only secret and returns only credential metadata. See vaults.

post/vaults/{vault_id}/credentials/{credential_id}

Path parameters

vault_idstring required

The ID of the vault.

credential_idstring required

The ID of the vault credential.

Request body

Response

The rotated vault credential without secret values.

idstring required

The ID of the credential.

object'vault.credential' required

The object type. Always vault.credential.

vault_idstring required

The ID of the vault containing this credential.

namestring required

The human-readable name of the credential.

created_atinteger required

The Unix timestamp, in seconds, when the credential was created.

updated_atinteger required

The Unix timestamp, in seconds, when the credential was last updated.

Changes