gateway.openapi_Gateway

List Secrets

Lists all secrets for an account. Note that the value field is not returned in the response for security reasons. Only the name and key_name fields are included for each secret.

get/v1/accounts/{account_id}/secrets

Path parameters

account_idstring required

The Account Id

Query parameters

pageSizeinteger
pageTokenstring
filterstring

Unused but required to use existing ListRequest functionality.

orderBystring

Unused but required to use existing ListRequest functionality.

readMaskstring

The fields to be returned in the response. If empty or "*", all fields will be returned.

Response

A successful response.

nextPageTokenstring
totalSizeinteger

The total number of secrets.

Example response

{
  "secrets": [
    {
      "value": "sk-1234567890abcdef"
    }
  ]
}

Changes

Changed in 1 of the 27 revisions of this API.3

    • ○

      the endpoint scheme security BearerAuth was added to the API

      api-security-added

    • ○

      api tag gateway.openapi_Gateway added

      api-tag-added

    • ○

      api tag Gateway removed

      api-tag-removed

    This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog