object-storage-2

Create access key

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

post/1.3/object-storage-2/{service-uuid}/users/{username}/access-keys

Request

  • Base URL: https://api.upcloud.com
  • URL: https://api.upcloud.com/1.3/object-storage-2/{service-uuid}/users/{username}/access-keys
  • Auth: HTTP bearer

Path parameters

service-uuidstring uuid required

The unique identifier for the service.

Example:01234567-89ab-cdef-0123-456789abcdef

Service UUID

usernamestring required

A resource name.

Example:my-object-storage

The name of the user.

Response

Created. Note: secret_access_key is returned only on creation.

access_key_idstring
created_atstring date-time
last_used_atstring date-time
secret_access_keystring

This is only returned upon creation.

status'Active' | 'Inactive'

Example response

{
  "access_key_id": "UCK1234567890ABCDEF",
  "secret_access_key": "uCkS3cr3tK3y1234567890abcdefghijklmnopqrstuvwxyz",
  "status": "Active",
  "created_at": "2024-01-15T10:30:00Z"
}

Changes

No recorded changes to this operation across all 1 revision of this API.