Server environment vars are probably more desirable.
- envvarset: AWS_BUCKET_NAME
- - '#assetsflysystem'
- region: '`AWS_REGION`'
- version: latest
- key: '`AWS_ACCESS_KEY_ID`'
- secret: '`AWS_SECRET_ACCESS_KEY`'
Readme says full details on env vars can be seen in
SilverStripeS3AdapterTrait though that doesn't appear to exist
That's the YML I use... and that picks up from the env vars
Sweet! thanks for sharing the config, @dorsetdigital
My local dev copy just uses the local file system, as I don't have the bucket name set in the .env file
The production server has it set, so the S3 system kicks in
FWIW, I tend to use a Cloudfront distribution in front of the S3 bucket as well if it's for something which needs to be fully distributed
Wicked, thanks for your help!