Set the endpoint and region in an S3 client
Configure an S3 client with Dosya’s exact endpoint, us-east-1 signer region, path-style addressing, workspace bucket, and one-time credentials.
Last reviewed
Create S3 credentials from an existing Dosya API key, then configure the exact gateway values returned by the released dialog. The S3 secret cannot be retrieved after that dialog closes.

Before you start
In Profile > API keys, use a key whose protocols are unrestricted or explicitly include S3 gateway. A workspace-pinned key also requires current membership and a role permitted to use S3. Expired keys cannot be enabled.
Choose Read only, Upload only, or Full access for the task and narrow the workspace or folder when possible. A folder anchor becomes the S3 root visible to that credential.
Steps
- Expand the intended API-key row and choose Enable in its S3 section; if no key exists, create one and include S3 gateway under protocol restrictions.
- In S3 credentials, copy Access key ID and Secret access key into a protected client profile before closing the dialog.
- Set Endpoint to
https://api.dosya.dev/s3and Region tous-east-1, exactly as displayed. - Enable path-style addressing and use the exact workspace ID as the bucket name.
- Run a non-destructive bucket or prefix listing that the key’s scope and role allow; an upload-only key cannot list existing files.
- Confirm the expected workspace appears and one known permitted key is returned, then remove credentials from terminal history or temporary files.
Expected result
The client reaches Dosya through AWS Signature V4 at /s3/{workspace-id}/…. The access key remains visible in the API-key row, while reopening S3 credentials shows that the secret is not retrievable and rotation requires a new API key.
If Enable is absent, inspect the key’s protocol restriction and expiry. The server refuses S3 credential creation for keys that exclude S3, expired keys, lost workspace memberships, and roles without S3 access.
Related guides
Was this helpful?
Loading helpfulness results…
Voting saves a necessary ballot cookie for up to 180 days so you can change your answer.
Questions and replies
Ask about the steps in this guide. Questions are reviewed before publication.
Keep account details, credentials and private files out of public questions. Use private support for those.
Loading questions…
Sign in to your Dosya account to ask a question.