Updated on 2026-09-10 GMT+08:00

CLI Command Reference (STS)

Temporary Security Credential

API Name

Command

Description

Operation

Obtaining a Temporary Security Credential Through an Agency or Trust Agency

hcloud STS AssumeAgency/v1

This API is used to obtain a temporary security credential through an agency or trust agency. The temporary security credential can be used to control access to cloud resources.

Go debug

Obtaining a Temporary Security Credential Through the SAML SSO Trust Agency

hcloud STS AssumeAgencyWithSAML/v1

A set of temporary security credentials returned for users who have passed SAML authentication response. This operation provides a mechanism that allows any external SAML identity provider to access Huawei Cloud using the temporary security credentials of a trust agency, without using the credentials of an IAM user.

Go debug

Obtaining a Temporary Security Credential Through the OIDC SSO Trust Agency

hcloud STS AssumeAgencyWithOIDC/v1

A set of temporary security credentials returned for users who have passed OIDC identity provider token authentication. This operation provides a mechanism that allows any external compatible OIDC identity provider to access Huawei Cloud using the temporary security credentials of a trust agency, without using the credentials of an IAM user.

Go debug

Querying the Information of a Caller

API Name

Command

Description

Operation

Obtaining the Identity Information of a Caller

hcloud STS GetCallerIdentity/v1

This API is used to obtain the identity information of a caller (such as a user or agency).

Go debug

Querying the Authentication Result

API Name

Command

Description

Operation

Decoding the Authentication Failure Cause

hcloud STS DecodeAuthorizationMessage/v1

This API is used to decode the authentication failure cause.

Go debug