(AWS: no, S3: yes, that module: yes)
How do you configure it to know where to look/how to connect to S3? Is it just variables in
.env or server env vars for region, bucket name, access key id and secret access key?
Yep, environment vars. Well last time I played with it.
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