Secrets

Get secret grant

Changed on

Returns one project grant for the secret.

get/orgs/{orgID}/secrets/{secretID}/grants/{grantID}

Request

  • Base URL
    https://api.omnara.com/v1
  • Auth
    • HTTP bearer
    • or API key in cookie __Host-omnara_session

Path parameters

orgID, string required

Organization ID (org_...).

secretID, string required

Secret ID (sec_...).

grantID, string required

Secret grant ID (sgr_...).

Response

The secret grant.

SecretGrant required
id, string required

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

org_id, string required

Organization the grant and its secret belong to.

secret_id, string required

Secret shared by this grant.

target_project_id, string required

Project that can use the secret through this grant.

created_at, string date-time required

When the secret was granted to the project.

Changes