get credentials for an S3 bucket
GET
/s3-credential/endpoint/{endpoint_id}/bucket/{bucket_id}
const url = 'https://example.com/s3-credential/endpoint/example/bucket/example';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example.com/s3-credential/endpoint/example/bucket/exampleGet credentials for an S3 bucket
Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” endpoint_id
required
string
bucket_id
required
string
Responses
Section titled “ Responses ”Success
Media type application/json
object
endpoint
required
URL to the endpoint
string
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"}