Remote archival with AWS S3
To leverage AWS S3 for archival you need to configure the server.archival
object in BLACKSMITH_DIR/services.BLACKSMITH_EXT
:
server:
archival:
driver: "aws/s3"
connection: "mybucket"
The driver follows the AWS SDKs conventions and best practices, using reserved environment variables for authentication:
AWS_ACCESS_KEY_ID=AKIAIOSFODNN7EXAMPLE
AWS_SECRET_ACCESS_KEY=wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY
AWS_REGION=us-east-2
Is something missing?
If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the repository. Once we merge it, the changes will be reflected on the website the next time it is deployed.
Thank you for your contributions!