details
Creates, updates, deletes, gets or lists a details resource.
Overview​
| Name | details |
| Type | Resource |
| Id | ovh.auth.details |
Fields​
The following fields are returned by SELECT queries:
- get
successful operation
| Name | Datatype | Description |
|---|---|---|
account | string | Customer identifier |
allowed_routes | array | Allowed API routes, null means everything (wire: allowedRoutes) |
description | string | Description of the authenticated identity |
identities | array | Identities of the current session: corresponds to all the authentication provider identities that could be used to match IAM policies |
method | string | Authentication method (account, oauth2_client_credentials, provider, user) |
roles | array | Roles of the authenticated identity |
user | string | Username of the authenticated identity |
Methods​
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | Details about the current authentication |
Parameters​
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
api_host | string | The OVHcloud API host. Selected by OVH_ENDPOINT (ovh-eu, ovh-ca or ovh-us; default ovh-eu). (default: api.eu.ovhcloud.com, x-stackQL-envVarSelector: {"envVar":"OVH_ENDPOINT","default":"ovh-eu","values":{"ovh-eu":"api.eu.ovhcloud.com","ovh-ca":"api.ca.ovhcloud.com","ovh-us":"api.us.ovhcloud.com"}}) |
SELECT examples​
- get
Details about the current authentication
SELECT
account,
allowed_routes,
description,
identities,
method,
roles,
user
FROM ovh.auth.details
;