Skip to main content
POST
Create temporary, read-only credentials for downloading backups directly from object storage

Authorizations

Authorization
string
header
required

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

Path Parameters

project_id
string
required

ID of the project

Pattern: ^pj[0-9a-hj-km-np-tv-z]{24}$
Example:

"pjkkmx0f2vke4h36nk9cm8v8q0"

location
string
required

The Ubicloud location/region

Example:

"eu-central-h1"

postgres_database_reference
string
required

Postgres database ID or name Resource ID or name

Pattern: ^[a-z0-9](?:[a-z0-9\-]{0,61}[a-z0-9])?$

Response

Temporary, read-only credentials for downloading backups directly from object storage

bucket
string
required

Name of the bucket backups are stored in

endpoint
string
required

Object storage endpoint URL

region
string
required

Object storage region

access_key_id
string
required

Temporary access key ID

secret_access_key
string
required

Temporary secret access key

session_token
string
required

Temporary session token, required alongside the access key ID and secret access key

expiration
string<date-time>
required

When these temporary credentials expire