统一身份认证服务 IAM-获取联邦认证scoped token:请求示例

时间:2025-02-12 15:14:21

请求示例

获取联邦认证scoped token。

POST https://iam.myhuaweicloud.com/v3/auth/tokens
{    "auth": {        "identity": {            "methods": [                "token"            ],            "token": {                "id": "MIIatAYJKoZIhvcNAQcCoIIapTCCGqECAQExDTALB..."            }        },        "scope": {            "domain": {                "id": "063bb260a480cecc0f36c0086bb6c..."            }        }    }}
support.huaweicloud.com/api-iam/iam_13_0604.html