Secrets
Get secret metadata
Permission
secrets:readAuthenticationGET
Returns metadata and a fingerprint suffix only. There is deliberately no reveal operation.
bearerAuthheader
AuthorizationBearer <token>Use a Voice API key or connected-app OAuth access token. Authentication.
id*stringFormat
uuidSafe secret metadata.
application/json- response
Safe write-only secret metadata. No plaintext, ciphertext, data-key ID, or wrapped key is ever included.
id*stringFormat
uuidname*SecretNameStable name of an active workspace secret. The referenced plaintext is never returned through the API.
Match
^[A-Za-z_][A-Za-z0-9_]{1,63}$Length
2 <= length <= 64description*string|nullfingerprint_suffix*|Up to the final four characters of the submitted value, for operator identification only.
Length
length <= 4last_used_at*|Format
date-timearchived_at*|Format
date-timecreated_at*stringFormat
date-timeupdated_at*stringFormat
date-timecurl -X GET 'https://api.kejue.co/v1/secrets/497f6eca-6276-4993-bfeb-53cbbbba6f08'Example Response
{ "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string", "description": "string", "fingerprint_suffix": "stri", "last_used_at": "2019-08-24T14:15:22Z", "archived_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "updated_at": "2019-08-24T14:15:22Z"}