List credential metadata for a provider
Changed onReturns 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.
Request
- Base URLhttps://global.api.konghq.com
- Auth
- HTTP bearer
- or HTTP bearer
- or HTTP bearer
- or HTTP bearer
Path parameters
ID of the directory
ID of the vault provider
Query parameters
The number of items included per page.
Cursor param specifying the page (i.e. the next page) of data returned.
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"
}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').
Sorts vault provider credentials. Supported sort attributes are:
- created_at
- updated_at
Response
List of shared credential metadata for a provider
Pagination metadata.
Example response
{
"meta": {
"page": {
"size": 10
}
},
"data": [
{
"id": "5f9fd312-a987-4628-b4c5-bb4f4fddd5f7"
}
]
}Changes
- info
the
credential_typeresponse property const valuesharedwas added for the status - info
the
credential_typeresponse property const valueuserwas added for the status - info
removed the
sharedenum value from thedata/items/oneOf[#/components/schemas/VaultProviderCredentialShared]/allOf[subschema #2]/credential_typeresponse property for the response status
1 more change in this revision
- info