POST
Add a storage connection

Authorizations

Authorization
string
header
required

A token from POST /token/create, made with your API key pair.

Body

application/json
name
string
required

Unique in your account.

Maximum string length: 100
bucket
string
required

The bucket’s name: 3 to 63 lowercase letters, digits, dots or hyphens.

accessKeyId
string
required
Maximum string length: 128
secretAccessKey
string
required

Stored encrypted, never answered.

Maximum string length: 256
endpoint
string | null

For an S3-compatible store: https://… with no path, reachable from the internet. Leave out, or null, for AWS S3.

region
string | null

The signing region, when the store needs one. Leave out for auto with an endpoint, us-east-1 without.

Response

Created

data
object
required

One of your own buckets, with the keys the service reads and writes it with. The secret access key is never answered.