Skip to navigation

Create an access key for a storage unit

Creates a new access key and secret key with the given label for the storage unit, and returns them. The existing keys continue to work. A storage unit can hold up to 10 access keys.

Authentication

X-API-Client-IDstring
API Client ID
X-API-Client-Secretstring
API Client Secret

Path parameters

storageUnitIdstringRequired

Storage unit ID (UID)

Request

This endpoint expects an object.
labelstringRequired<=64 characters

A label that identifies the key, for example the application that uses it. The label must be 1 to 64 characters, start with a letter or a number, and hold only letters, numbers, single spaces, and . _ - : , / @ # ( ) + & ’. It cannot be changed later.

Response

The created access key
accessKeystring
S3 access key identifier.
secretKeystring
S3 secret key paired with the access key.
labelstring or null
The label given to the access key when it was created. Null for a key created without a label, such as the first key of a storage unit.
createdAtdatetime or null
When the access key was created. Null when the creation time is not known.

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
500
Internal Server Error