Object Storage

Create access key

post/object-storage/keys

Create an S3 access key for one tier, read and write or read only, for every bucket of a project or only some of them. The secret is shown only in this response: store it safely.

Autorización

Authorization
Authorization*string

Bearer YOUR_API_TOKEN con un token de API. También vale la cabecera X-API-Key: YOUR_API_TOKEN.

Cuerpo de la petición

Create an access key. The secret is returned once.

application/jsonObligatorio
name*string
Rango1 ≤ length ≤ 100
tier*string
Rangolength ≤ 64
project_id?integer | null
permission*string
Valores"read_write""read_only"
bucket_uuids?array<string> | null

Buckets the key is limited to (omit for every bucket of the project)

Rangoitems ≤ 20
expires_at?string | null
Formatodate-time
bypass_governance?boolean

read_write keys only: may delete objects under governance retention (bypass header)

Por defectofalse

Respuestas

Successful Response

application/json

detail*string
uuid*string
name*string
access_key_id*string
secret_access_key*string
permission*string
bucket_scope?array<ObjectStorageKeyBucket> | null
Propiedades (2)
uuid*string
name*string
project_id?integer | null
tier*ObjectStorageTierSummary
Propiedades (4)
uuid*string
slug*string
name*string
media*string
region*string
endpoint*string
status*string
expires_at?string | null
bypass_governance?boolean
Por defectofalse