palbaseDocs

Palbase Workspaces API · API

POST/workspaces/s3-keys

Create a project-wide S3 key

Mints an S3 SigV4 access key and secret spanning every workspace in the project.

Called by your server, with the project's secret key.

Request body

access"rw" | "ro" · optional
labelstring · optional
ttl_secondsinteger · optional
curl
curl -X POST "https://<your-ref>.palbase.studio/workspaces/s3-keys" \
  -H "apikey: $PALBASE_SECRET_KEY" \
  -H "content-type: application/json" \
  -d '{"access":"rw","label":"string","ttl_seconds":0}'

Responses

201S3 key created.

defaultAn error envelope.

Operation CreateProjectS3Key of workspaces's contract.