Obtaining Temporary Access Credentials
Temporary access credentials are used to grant temporary access permissions. You can provide these credentials to trusted users to access account resources through a command-line interface (CLI) or software development kit (SDK). This section describes how to obtain temporary access credentials for users in IAM Identity Center.
Constraints
The validity period of temporary access credentials equals to the session duration of the corresponding account's permission set.
Procedure
- Log in to the Huawei Cloud management console.
- Click
in the upper left corner of the page and choose Management & Governance > IAM Identity Center. - In the navigation pane, choose Dashboard. On the displayed page, obtain the user portal URL.
The user portal URL can also be obtained from the password setting instruction email sent to the user or from the one-time password page displayed when the user was created.
Figure 1 User portal URL
- Open a browser and access the user portal URL. Enter the IAM Identity Center username, and click Next.
The IAM Identity Center username and password for logging in to the portal are obtained during user creation. For details, see Creating Users. If the password is forgotten or needs to be changed, the administrator can use the password resetting function to allow the system to resend a password setting instruction email to the user or generate a one-time password.
Figure 2 User login
- Enter the password, and click Log In.
- Click Obtain Temporary Access Credentials in the Operation column to obtain the temporary access credentials of each permission set associated with the account.
Figure 3 Accessing resources
- Copy the information in the temporary access credentials dialog box to your client code and use them to access resources in your account through a CLI or SDK.
Figure 4 Copying temporary access credentials
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