Specifying Authentication Mode
Cloud CLI allows you to set the authentication mode to AKSK, token, agency, and ecsAgency in a profile. AKSK is recommended. If the profile you use contains parameters related to different authentication modes such as AK/SK and token, use --cli-mode to specify the mode that will be used.
cloud 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.
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