cloadyDocs
Referencia de la APIEndpointsStorage

Get volume credentials

Get S3 and SFTP credentials for one volume or service filesystem. Derived, not stored, so they are stable and need no rotation step. `volume` is a name from listVolumes; `kind` selects a persistent volume (default) or a service filesystem.

GET
/api/workspaces/{workspaceSlug}/apps/{appSlug}/keys
AuthorizationBearer <token>

Personal API token (cldy_…)

In: header

Path Parameters

workspaceSlug*string
appSlug*string

Query Parameters

volume*string
kind?string

Value in

  • "service"
  • "volume"
env?string

Value in

  • "production"
  • "preview"
  • "development"
region?string

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/workspaces/string/apps/string/keys?volume=string"
{  "s3": {    "accessKeyId": "string",    "secretAccessKey": "string",    "bucket": "string",    "endpoint": "string",    "region": "string",    "forcePathStyle": true  },  "sftp": {    "host": "string",    "port": 0,    "username": "string",    "password": "string"  }}