Create S3 access key
Creates an access key with optional per-bucket grants. The secret access key is returned exactly once and cannot be retrieved again. A delegated caller (upl:credentials:bucket) may only create a key granting exactly one bucket it administers, at READ or READ_WRITE.
Required scopes: upl:private, upl:credentials:bucket
AuthorizationBearer <token>
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Connect-Protocol-Version?number
Define the version of the Connect protocol
Connect-Timeout-Ms?number
Define the timeout, in ms
Request Body
application/json
label?string
Length
1 <= length <= 64grants?array<>
Items
items <= 100ownerTeam?|
Mint the key owned by this team (urn:xeonr:auth:team:) instead of by the caller. Requires the upl "admin" team role in that team, and every grant must name a bucket owned by the same team. Omit (or send empty) for a personal key.
Length
length <= 128[key: string]?never
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.S3CredentialsService/CreateS3Credential" \ -H "Connect-Protocol-Version: 1" \ -H "Connect-Timeout-Ms: 1000" \ -H "Content-Type: application/json" \ -d '{}'{
"credential": "map[accessKeyId:UPLEXAMPLE0123456789 createdAt:2026-09-14T16:05:12Z createdByUserId:3 disabled:false grants:[map[bucketId:1042 level:BUCKET_PERMISSION_LEVEL_READ_WRITE]] id:0e2a4c6d-8f1b-4d3e-9a5c-7b9d1f3a5c7e label:CI deploy lastUsedAt:2026-10-22T09:30:00Z]",
"secretAccessKey": "uplEXAMPLEsecretDoNotUse0000000000000000"
}