Skip to main content
GET
Get secret through ownership authority

Authorizations

Authorization
string
header
required

An opaque Omnara personal or organization bearer token.

Path Parameters

orgID
string
required

Organization ID (org_...).

Pattern: ^org_[a-z2-7]{26}$
secretID
string
required

Secret ID (sec_...).

Pattern: ^sec_[a-z2-7]{26}$

Response

Secret.

id
string
required

Identifies the secret; other resources reference it by this ID instead of storing the value.

Pattern: ^sec_[a-z2-7]{26}$
org_id
string
required

Organization the secret belongs to.

Pattern: ^org_[a-z2-7]{26}$
management_kind
enum<string>
required

Whether the organization manages this secret or the Omnara installation provisions and manages it.

Available options:
tenant,
cluster
owner
object
required

Who owns the secret; a project can use it without a grant only if the project owns it.

name
string
required

Display name of the secret.

Required string length: 1 - 64
kind
enum<string>
required

What type of credential the secret holds, which determines its payload fields.

Available options:
generic,
oauth_token_set,
slack_app_credentials,
aws_credentials,
github_app_credentials
metadata
object
required

Caller-supplied key-value labels on the secret.

current_version_number
integer<int32>
required

Version of the value currently in use; each rotation increments it.

payload_keys
string[]
required

Names of the fields stored in the current value, such as value or access_token; values are never returned.

created_at
string<date-time>
required

When the secret was created.

updated_at
string<date-time>
required

When the secret's name, metadata, or current version last changed.