Vaults

Retrieve a vault credential

Retrieves vault credential metadata without returning secret values. See vaults.

get/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.

Response

The requested 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.

metadataobject required

Application-defined key-value pairs associated with this 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

Changed in 3 of the 163 revisions of this API.13

    • ○

      added the required property to the response with the status

      response-required-property-added

  • ae9b7322bc4f11See the full diff
    • ▲

      added to the response property oneOf list for the response status

      response-property-one-of-added

    • ○

      added environment_variable discriminator mapping keys to the response property for the response status

      response-property-discriminator-mapping-added

    • ○

      endpoint added

      endpoint-added