What Are Temporary Security Credentials (AK/SK and Security Token)?
Temporary Security Credentials
Temporary security credentials include temporary access keys (AK/SK) and security tokens. They only have temporary access permissions and are slightly different from permanent security credentials.
Differences Between Temporary and Permanent Security Credentials
Item |
Temporary Credentials |
Permanent Credentials |
---|---|---|
Validity period |
15 minutes to 24 hours |
Unlimited validity |
Number of credentials |
Unlimited |
2 credentials for each IAM user |
Obtaining method |
Call the API used to obtain a temporary AK/SK. |
Create an access key on the My Credentials page. |
Usage |
Cannot be embedded into applications or stored for later use, and must be obtained again after expiration. |
N/A |
Advantages of Temporary Security Credentials
Temporary security credentials are useful to grant federated users only required permissions with a specific validity period.
Usage of Temporary Security Credentials
An access key must be used together with a security token. When you use temporary security credentials for authentication, add the x-security-token field to the request header.
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