Credentials
SeaweedFS serves an S3-compatible gateway (the weed s3 command, default port
8333). Access keys are defined in the gateway’s S3 config (-s3.config), or
the gateway can run without authentication for local development.
1. Get an access key
- Start the S3 gateway, e.g.
weed server -s3 or weed s3 -filer=localhost:8888
- If you configured
-s3.config, copy an identity’s accessKey and secretKey
- Note your gateway endpoint (e.g.
http://localhost:8333) and bucket name
SeaweedFS uses path-style addressing, so the endpoint_url is required.
2. Set environment variables
# .env.development
SEAWEEDFS_BUCKET=my-bucket
SEAWEEDFS_ENDPOINT=http://localhost:8333
SEAWEEDFS_ACCESS_KEY=...
SEAWEEDFS_SECRET_KEY=...
Blaxel Agent Drive is backed by SeaweedFS. Use the drive’s s3Url as the
endpoint and a drive access token’s credentials to mount it as a SeaweedFS
resource.
For Python configuration, see the SeaweedFS resource docs.