Access Keys (AK/SK)
OBS supports AK/SK authentication. The AK/SK encryption method is used to authenticate a request sender. When you use OBS APIs for secondary development and use the AK and SK for authentication, the signature must be computed based on the algorithm defined by OBS and added to the request.
OBS supports authentication using a permanent AK/SK pair, or using a temporary AK/SK pair and a security token.
Permanent AK/SK Pair
To access OBS in the AP-Kuala Lumpur-OP6 region, contact the administrator to obtain the AK and SK by referring to the access key obtaining method.
- Access key ID (AK): indicates the ID of the access key. It is the unique ID associated with the SK. The AK and SK are used together to obtain an encrypted signature for a request.
- Secret access key (SK): indicates the private key used together with its associated AK to cryptographically sign requests. The AK and SK are used together to identify a request sender to prevent the request from being modified.
Temporary AK/SK Pair
A temporary AK/SK pair and the security token are temporary access tokens granted by the system to users. The validity period of the tokens ranges from 15 minutes to 24 hours. After the tokens expire, you need to obtain the tokens again. A temporary AK/SK pair and the security token comply with the least privilege principle and can only be used to temporarily access OBS. A 403 error will be returned if the security token is not available.
- Temporary AK: indicates the ID of a temporary access key. It is the unique ID associated with the SK. The AK and SK are used together to obtain an encrypted signature for a request.
- Temporary SK: indicates the temporary private key used together with its associated temporary AK. The AK and SK are used together to identify a request sender to prevent the request from being modified.
- Security token: indicates the token used together with the temporary AK and SK to access all resources of a specified account.
When using the following tools to access OBS resources, you need to use the AK/SK pair for security authentication.
Tool |
AK/SK Configuration |
---|---|
OBS Browser+ |
Configure the AK and SK during account configuration. |
obsutil |
Configure the AK and SK during initial configuration. |
obsfs |
Configure the AK and SK during initial configuration. |
API |
Add the AK/SK pair to the request when computing the signature. |
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