package
0.0.0-20241114222725-0085ac75c854
Repository: https://github.com/backdrop-run/polystore.git
Documentation: pkg.go.dev
# README
S3 Storage Backend
The S3 backend provides support for Amazon S3 and compatible services.
Configuration
To use the S3 backend, you need to specify the following options in your connection string:
endpoint
: The endpoint URL of your S3 service.region
: The AWS region.accessKey
: Your AWS access key.secretKey
: Your AWS secret key.sse
: Server Side Encryption setting.pathStyle
: Whether to use path-style URLs.accelerate
: Whether to use S3 Transfer Acceleration.
A connection string for the S3 backend looks like this:
s3://myBucketName/my/prefix?region=region&accessKey=accessKey&secretKey=secretKey&sse=sse&pathStyle=true
Replace myBucketName/my/prefix
, region
, accessKey
, secretKey
, and sse
with your actual parameters.
# Functions
New creates a new S3 backend.
# Constants
https://docs.aws.amazon.com/AmazonS3/latest/API/ErrorResponses.html#RESTErrorResponses.