Skip to Content
Secrets

Get secret metadata

Permissionsecrets:readAuthentication
GET
/secrets/{id}

Returns metadata and a fingerprint suffix only. There is deliberately no reveal operation.

Authorization

bearerAuth
headerAuthorizationBearer <token>

Use a Voice API key or connected-app OAuth access token. Authentication.

Path Parameters

id*string
Formatuuid

Response Body

Safe secret metadata.

application/json
  1. response

Safe write-only secret metadata. No plaintext, ciphertext, data-key ID, or wrapped key is ever included.

id*string
Formatuuid
name*SecretName

Stable 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}$
Length2 <= length <= 64
description*string|null
fingerprint_suffix*|

Up to the final four characters of the submitted value, for operator identification only.

Lengthlength <= 4
last_used_at*|
Formatdate-time
archived_at*|
Formatdate-time
created_at*string
Formatdate-time
updated_at*string
Formatdate-time
Example Request
curl -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"}