Skip to main content
GET
Get secret grant

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}$
grantID
string
required

Secret grant ID (sgr_...).

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

Response

The secret grant.

id
string
required

Identifies this grant; use it to revoke the project's access.

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

Organization the grant and its secret belong to.

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

Secret shared by this grant.

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

Project that can use the secret through this grant.

Pattern: ^proj_[a-z2-7]{26}$
created_at
string<date-time>
required

When the secret was granted to the project.