Secrets

List secrets available to project

Changed on

Includes directly owned and granted secrets, ordered by created_at descending, then id descending.

get/orgs/{orgID}/projects/{projectID}/secrets

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_...).

projectID, string required

Project ID (proj_...).

Query parameters

name, string

Case-insensitive glob over the list's logical name. * matches zero or more characters, ? matches one character, and \ escapes a wildcard.

kind, 'generic' | 'oauth_token_set' | 'slack_app_credentials' | 'aws_credentials' | 'github_app_credentials'

Return only secrets that hold this type of credential.

owner_kind, 'org' | 'project' | 'user'

Filter by the immutable owner kind.

availability_source, 'direct' | 'grant'

Filter a project inventory by how the secret became available.

metadata, object

Return only secrets whose metadata includes these key-value pairs.

sort, 'name' | '-name' | '-updated_at' | 'updated_at' | '-created_at' | 'created_at'

Field to sort by; prefix with - for descending order. Defaults to -created_at (newest first).

limit, integer

Maximum number of items to return in one page.

cursor, string

Opaque pagination cursor from a previous response's next_cursor. Omit for the first page.

Response

Secrets available to the project.

ListProjectSecretAccessesResponse required
data, ProjectSecretAccess[] required
next_cursor, string nullable required

Changes

    • warning

      added the new github_app_credentials enum value to the data/items/secret/kind response property for the response status

    • info

      added the new enum value github_app_credentials to the query request parameter kind

    • info

      added the optional property current_digest to the response with the status

    158 more changes in this revision