Object Storage
Create access key
post
/object-storage/keysCreate 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
Rango
1 ≤ length ≤ 100tier*string
Rango
length ≤ 64project_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)
Rango
items ≤ 20expires_at?string | null
Formato
date-timebypass_governance?boolean
read_write keys only: may delete objects under governance retention (bypass header)
Por defecto
falseRespuestas
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 defecto
false