Sign Up

Object Storage

GET
/object-storage/push-access

Authorization

headerAuthorizationBearer <token>

API Key access

Query Parameters

regionId?string

Region the build context will be used in. When that region has its own build-context bucket, the returned credentials target it; otherwise they target the Daytona-hosted bucket.

Header Parameters

X-Daytona-Organization-ID?string

Use with JWT to specify the organization ID

Response Body

Temporary storage access has been generated

application/json
  1. response
accessKey*string

Access key for storage authentication

secret*string

Secret key for storage authentication

sessionToken*string

Session token for storage authentication

storageUrl*string

Storage URL

organizationId*string

Organization ID

bucket*string

S3 bucket name

region*string

Region for the storage backend (e.g. "us-east-2")

curl -X GET 'http://localhost:3000/object-storage/push-access'
{  "organizationId": "123e4567-e89b-12d3-a456-426614174000",  "bucket": "daytona",  "accessKey": "temp-user-123",  "sessionToken": "eyJhbGciOiJIUzI1NiIs...",  "secret": "abchbGciOiJIUzI1NiIs...",  "region": "us-east-1",  "storageUrl": "storage.example.com"}