AWS_ACCESS_KEY_ID is the API key’s record ID and AWS_SECRET_ACCESS_KEY is its raw secret value — not the service account’s OAuth client ID/secret pair. Personal API keys and OAuth tokens are not supported for S3 access.
API keys created before S3 support was added may not work for SigV4 signing and will return
InvalidAccessKeyId. If you hit this error, create a new API key for the service account (or rotate the existing one) and use the new credentials.Find a drive’s S3 endpoint and bucket
The endpoint is returned in the drive’s state ass3Url, in the form {endpoint}/{bucket}:
s3Url; the rest of the URL is the endpoint to pass to your S3 client.
The Blaxel CLI does not currently expose the S3 endpoint via
bl drive get. Use the TypeScript or Python SDK to retrieve it until CLI support is added.Use the AWS CLI
Export the service account’s API key as AWS-style credentials, then use standardaws s3 commands with --endpoint-url and --region set to the drive’s endpoint and region:
