Retrieve the current credential's policies
/credentials/current/policiesReturns the active policy revision of the credential used to authenticate the request. Use this operation to inspect what the calling credential is allowed to do; it cannot be used to read other credentials.
Autonomous mode: the API credential secret, sent as a bearer token. Credential secrets are identified by a fixed prefix.
In: header
Response Body
application/json
application/json
curl -X GET "https://example.com/credentials/current/policies"{ "data": { "catalog_version": "string", "credential_id": "string", "grants": [ { "id": "string", "permissions": [ "string" ], "resources": [ { "ids": [ "string" ], "include_future": true, "selector": "instance", "type": "instance" } ] } ], "object": "credential_policy", "published_at": "2019-08-24T14:15:22Z", "version": 0 }}Retrieve the current credential GET
Returns the credential used to authenticate the request, reflecting its current state. Available to any authenticated credential without additional permissions.
Retrieve the permission catalog GET
Returns every permission supported by the API, with its code, resource type, description, whether it can be delegated to other credentials, and the API version in which it was introduced. Available to any authenticated credential. Reading the catalog does not grant any permission.