应用身份管理服务 ONEACCESS-获取访问凭据:请求示例

时间:2024-01-18 19:43:28

请求示例

获取凭据,根据应用的clientid以及clientsecret获取接口鉴权token。

POST https://{domain_name}/api/v2/tenant/token

Content-Type: application/x-www-form-urlencoded

client_id=ONtQq2igSggfFClyGgzmuXR8ubWEP...&
client_secret=XdqUmJpG19hNEHz3472XsPcwvfe...&
grant_type=client_credentials
support.huaweicloud.com/api-oneaccess/ShowAuthToken.html