Skip to main content
GET
/
api
/
shelves
/
{id}
/
creds
Get temporary S3 credentials
curl --request GET \
  --url https://api.shelv.dev/api/shelves/{id}/creds \
  --header 'Authorization: Bearer <token>'
{
  "accessKeyId": "<string>",
  "bucket": "<string>",
  "endpoint": "<string>",
  "expiresAt": "2023-11-07T05:31:56Z",
  "prefix": "<string>",
  "region": "<string>",
  "secretAccessKey": "<string>",
  "sessionToken": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string<uuid>
required

Query Parameters

ttl
integer
default:3600
Required range: 60 <= x <= 86400

Response

Temporary credentials

accessKeyId
string
required
bucket
string
required
endpoint
string
required
expiresAt
string<date-time>
required
prefix
string
required
region
string
required
secretAccessKey
string
required
sessionToken
string
required