ecsAgency Authentication
Assume that you have created an ECS agency. When using Cloud CLI on an ECS, add --cli-mode=ecsAgency in a command so that Cloud CLI can use the ECS agency to automatically obtain a temporary AK/SK and SecurityToken for authentication.
To use this authentication mode, ensure that you have created an ECS agency. If no ECS agency is available, create one in IAM. For details, see Creating a Cloud Service Agency. Then add the agency in the Management Information > Agency area of the ECS details page.
Parent topic: Using Cloud CLI in Non-configuration Mode