Skip to main content
GET
Retrieve secret

Authorizations

Authorization
string
header
required

All requests to the Cortex API need to provide an Authorization: Bearer <token> header, where <token> is an API key created in the Settings page of your workspace.

Path Parameters

tagOrId
string
required

The specified secret tag or unique, auto-generated identifier for the secret. Entity identifier - can be a tag or CID

Response

Successfully retrieved secret

id
string
required

Unique, immutable, 18-character auto-generated identifier for the secret

Example:

"se2da8159dbeefb974"

tag
string
required

Unique identifier for the secret

Example:

"my-secret"

name
string

Human-readable name for the secret

Example:

"My Secret"

Last modified on September 29, 2026