Specifying Authentication Mode
KooCLI allows you to set the authentication mode to AKSK, SSO, AssumeRole, or ecsAgency in a profile. AKSK is recommended. If the profile you use contains parameters related to different authentication modes, use --cli-mode to specify the mode that will be used.
hcloud CCE ListNodes --cluster_id="f288****-****-****-****-****ac101534" --project_id="0dd8cb****************19b5a84546" --cli-profile=test --cli-mode=AKSK
When configuring a profile, use --cli-profile to specify the profile name and add authentication parameters corresponding to --cli-mode.
- If --cli-mode is AKSK, set both --cli-access-key and --cli-secret-key.
- If --cli-mode is ecsAgency, set --cli-mode=ecsAgency.
- If --cli-mode is SSO, configure both --cli-sso-start-url and --cli-sso-region.
- If --cli-mode is AssumeRole, configure --cli-agency-domain-id/--cli-agency-domain-name, --cli-agency-name, and --cli-source-profile.
What is your overall rating for this page?
Thank 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