Digital Ocean Spaces implements the S3 protocol. To use it follow the instructions in the :doc:`Amazon S3 docs <amazon-S3>` with the important caveats that you must:
- Set
AWS_S3_REGION_NAME
to your Digital Ocean region (such asnyc3
orsfo2
) - Set
AWS_S3_ENDPOINT_URL
to the value ofhttps://${AWS_S3_REGION_NAME}.digitaloceanspaces.com
- Set the values of
AWS_ACCESS_KEY_ID
andAWS_SECRET_ACCESS_KEY
to the corresponding values from Digital Ocean