UpCloud

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.


POST/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys

Create access key

Creates a new access key by given {service_uuid} and {username}.

Request

POST
/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys
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

GET/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys

List access keys

Returns a list of available access keys by given {service_uuid} and {username}.

Request

GET
/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys
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/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys/{access_key_id}

Get access key details

Returns access key details by given {service_uuid}, {username} and {access_key_id}.

Request

GET
/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys/{access_key_id}
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

PATCH/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys/{access_key_id}

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

PATCH
/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys/{access_key_id}
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/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys/{access_key_id}

Delete access key

Deletes existing access key by given {service_uuid}, {username} and {access_key_id}.

Request

DELETE
/1.3/object-storage-2/{service_uuid}/users/{username}/access-keys/{access_key_id}
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