Xeonr Developer Docs

List S3 access keys

POST
/uplim.api.v1.S3CredentialsService/ListS3Credentials

Lists the caller's access keys with metadata and last-used timestamps. Secrets are never returned.

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

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

ownerScope?|null

Whose keys to list. Omitted, or set to personal, returns the caller's own keys; set to a team returns that team's keys, which requires the upl "admin" team role in it.

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.S3CredentialsService/ListS3Credentials" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "credentials": [
    {
      "id": "string",
      "accessKeyId": "string",
      "label": "string",
      "grants": [
        {
          "bucketId": 0,
          "level": "BUCKET_PERMISSION_LEVEL_UNSPECIFIED"
        }
      ],
      "disabled": true,
      "createdAt": "2023-01-15T01:30:15.01Z",
      "lastUsedAt": "2023-01-15T01:30:15.01Z",
      "ownerTeam": "string",
      "ownerTeamSlug": "string",
      "createdByUserId": "string"
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}