Skip to Content
Xeonr Developer Docs

Rotate S3 access key secret

POST
/uplim.api.v1.S3CredentialsService/RotateS3Credential

Generates a replacement secret for the key. The previous secret is invalidated immediately and the new one is returned exactly once.

Required scopes: upl:private

Authorization

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

id?string
Formatuuid
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.S3CredentialsService/RotateS3Credential" \  -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"
}