v1

latestOpenAPI 3.1.02026-08-06415.7 KB

Get secret

Retrieves a single Secret by its ID. Secrets can be managed in the Admin Console

get/v1/secret/{id}

Path parameters

idstring required

Secret ID

Query parameters

force_refreshboolean

Retrieved secrets might be cached in memory for performance. Setting this property to true will ignore the cache and fetch again the secret from its source

Response

Secret Retrieved

idstring required

Secret ID

contentstring required

Content of the Secret

created_atstring date-time required

Date secret was first recorded, ISO 8601

expires_atstring date-time required

Date secret is set to expire, ISO 8601

descriptionstring required

Description of the secret