secrets

Get a secret

Get one secret's metadata, selected by identifier or name.

get/secrets/{secretID}

Path parameters

secretIDstring required

Identifier of the secret (sec_ prefixed), or its canonical lower-case name

Response

Successfully retrieved the secret

secretIDstring required

Identifier of the secret

namestring required

Name of the secret, unique within the project

currentVersioninteger required

Version served to readers that do not name one

metadataSecretMetadata required

Customer metadata of the secret. Always present, empty when unset. At most 32 entries; keys are limited to 128 bytes, values to 1024 bytes, and a secret's metadata to 8192 bytes in total.

createdAtstring date-time required

Time when the secret was created

updatedAtstring date-time required

Time when the secret was last updated

Changes