TokenVaultProviders

List credential metadata for a provider

Changed on

Returns a paginated list of credential metadata for a provider. Each item's shape depends on its credential_type. shared items are the provider's shared credential: the admin-configured secret. Never include enrollment_url (fetch by id to mint one; shared authorization_code credentials only). user items are each principal's individual authorization, embedding principal id and display_name. Credential values are never returned.

get/v2/directories/{directoryId}/vault/providers/{providerId}/credentials

Request

  • Base URL
    https://global.api.konghq.com
  • Auth
    • HTTP bearer
    • or HTTP bearer
    • or HTTP bearer
    • or HTTP bearer

Path parameters

directoryId, string uuid required

ID of the directory

providerId, string uuid required

ID of the vault provider

Query parameters

page, CursorPageParameters
size, integer

The number of items included per page.

after, string

Cursor param specifying the page (i.e. the next page) of data returned.

before, string

Cursor param specifying the page (i.e. the previous page) of data returned.

Determines which page of the collection to retrieve.

{
  "size": 10,
  "after": "ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ",
  "before": "ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ"
}
sort, string

The asc suffix is optional as the default sort order is ascending. The desc suffix is used to specify a descending order. Multiple sort attributes may be provided via a comma separated list. JSONPath notation may be used to specify a sub-attribute (eg: 'foo.bar desc').

Example:created_at desc

Sorts vault provider credentials. Supported sort attributes are:

  • created_at
  • updated_at

Response

List of shared credential metadata for a provider

ListVaultProviderCredentials required
meta, CursorMeta required

Pagination metadata.

data, VaultProviderCredential[] required

Example response

{
  "meta": {
    "page": {
      "size": 10
    }
  },
  "data": [
    {
      "id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
    }
  ]
}

Changes

    • info

      the credential_type response property const value shared was added for the status

    • info

      the credential_type response property const value user was added for the status

    • info

      removed the shared enum value from the data/items/oneOf[#/components/schemas/VaultProviderCredentialShared]/allOf[subschema #2]/credential_type response property for the response status

    1 more change in this revision