Calling APIs Using an Agency in Non-configuration Mode
After a delegating party creates an agency to delegate another account to manage its resources, the delegated party can add --cli-agency-domain-id/--cli-agency-domain-name, --cli-agency-name, and --cli-source-profile to a command to call cloud service APIs using an agency in non-configuration mode, and manage resources of the delegating party.
cloud VPC ListAddressGroup/v3 --cli-region="ru-moscow-1" --project_id="2cc60****************caefa5019ef" --cli-agency-domain-id=13534326******************5cf67b --cli-agency-name=****** --cli-source-profile=test{"request_id": "29ec21****************6d6b4cdd82","address_groups": [],"page_info": {"current_count": 0}}
Note
Among the preceding parameters, use --cli-agency-domain-id/--cli-agency-domain-name and --cli-agency-name at the same time. Use --cli-source-profile to specify the profile that stores the authentication information of the delegated party. The value of --cli-source-profile cannot be the current profile.
Parent topic: Options