Object Storage Access Keys
Access keys provide programmatic access to your Managed Object Storage services. Each access key consists of an access key ID and a secret access key that are used for S3-compatible API authentication.
The secret access key is only returned once during creation. UpCloud does not store your secret keys, so make sure to save them securely.
Create access key
Creates a new access key by given {service_uuid} and {username}.
Request
curl -X POST https://api.upcloud.com/1.3/object-storage-2/0ab2f83f-03f3-4c48-9a38-0a3e89c6d024/users/example_user/access-keys \
-u your_username:your_password
List access keys
Returns a list of available access keys by given {service_uuid} and {username}.
Request
curl -X GET https://api.upcloud.com/1.3/object-storage-2/0ab2f83f-03f3-4c48-9a38-0a3e89c6d024/users/example_user/access-keys \
-u your_username:your_password
Get access key details
Returns access key details by given {service_uuid}, {username} and {access_key_id}.
Request
curl -X GET https://api.upcloud.com/1.3/object-storage-2/0ab2f83f-03f3-4c48-9a38-0a3e89c6d024/users/example_user/access-keys/AKIA63F41D01345BB477 \
-u your_username:your_password
Modify access key
Modifies access key details by given {service_uuid}, {username} and {access_key_id}.
Attributes
- Name
status- Type
- string
- Description
Indicates if the key is active or inactive. Accepted values:
Active,Inactive.
Request
curl -X PATCH https://api.upcloud.com/1.3/object-storage-2/0ab2f83f-03f3-4c48-9a38-0a3e89c6d024/users/example_user/access-keys/AKIA63F41D01345BB477 \
-u your_username:your_password \
-H "Content-Type: application/json" \
-d '{
"status": "Inactive"
}'
Delete access key
Deletes existing access key by given {service_uuid}, {username} and {access_key_id}.
Request
curl -X DELETE https://api.upcloud.com/1.3/object-storage-2/0ab2f83f-03f3-4c48-9a38-0a3e89c6d024/users/example_user/access-keys/AKIA63F41D01345BB477 \
-u your_username:your_password