Agency Authentication
By creating an agency, you can delegate another account to manage your resources based on assigned permissions. After a trust relationship is established, the delegated party can use the delegating account name (cli-agency-domain-name)/ID (cli-agency-domain-id), agency name (cli-agency-name), and the delegated party's authentication information (token or AK/SK) to get authenticated when calling APIs to manage and use resources of the delegating party.
To use this authentication mode, the delegating party must create an agency for the delegated party. If you are the delegating party, create an agency on the IAM console by referring to IAM documentation. If you are the delegated party, only you and users in the admin group can manage the delegated resources. To assign a common IAM user to manage the resources, authorize the user by referring to IAM documentation.
As the delegated party, when calling APIs to manage and use the cloud services and resources of the delegating party, use an AK/SK (access key or temporary security credentials), an account, or a token for authentication.
- AK/SK (delegated party's) authentication
- Access key (permanent AK/SK)
cloud ECS NovaListServers --cli-region="{region}" --project_id="4ff018c3******************f31948" --cli-agency-domain-id=13534326******************5cf67b --cli-agency-name=****** --cli-access-key=******** --cli-secret-key=******** - Temporary security credentials (temporary AK/SK and SecurityToken)
cloud ECS NovaListServers --cli-region="{region}" --project_id="4ff018c3******************f31948" --cli-agency-domain-id=13534326******************5cf67b --cli-agency-name=****** --cli-access-key=******** --cli-secret-key=******** --cli-security-token=********
- Access key (permanent AK/SK)
- Token (cli-x-auth-token) authentication
cloud ECS NovaListServers --cli-region="{region}" --project_id="4ff018c3******************f31948" --cli-agency-domain-id=13534326******************5cf67b --cli-agency-name=****** --cli-x-auth-token=****** - Account (cli-username, cli-password, and cli-domain) authentication
cloud ECS NovaListServers --cli-region="{region}" --project_id="4ff018c3******************f31948" --cli-agency-domain-name=q******2 --cli-agency-name=****** --cli-username=s******1 --cli-password=****** --cli-domain=s******1
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
For any further questions, feel free to contact us through the chatbot.
Chatbot