Skip to content

Add credentials for an S3 bucket

POST
/s3-credential
curl --request POST \
--url https://example.com/s3-credential \
--header 'Content-Type: application/json' \
--data '{ "endpoint": "http://candig.docker.internal:9000", "bucket": "example", "access_key": "example", "secret_key": "example" }'

Add credentials for an S3 bucket

Media type application/json
object
endpoint
required

URL to the endpoint

string
/(https*):\/\/(.+)/
Example
http://candig.docker.internal:9000
bucket
required

Name of the bucket

string
access_key
required

Access key for the bucket

string
secret_key
required

Secret key for the bucket

string

Success

Media type application/json
object
endpoint
required

URL to the endpoint

string
/(https*):\/\/(.+)/
bucket
required

Name of the bucket

string
access_key
required

Access key for the bucket

string
secret_key
required

Secret key for the bucket

string
Example
{
"endpoint": "http://candig.docker.internal:9000"
}