[Proposal] Add S3 use-sigv4 Configurable #675
Comments
I believe you can just set: Another idea may just be to make it clear/easier to inject a boto.cfg into the default registry container.
|
+1 for Savvy people can still do some acrobatic stuff with boto.cfg, but I don't want to promote that as the main way to go (although, I'm ok adding some infos about that into ADVANCED.md). @c-schmitt yours to take if you want :-) |
@dmp42 yeah I will do it on weekend |
I created a pull request at #705 currently it will fail hard if no AWS_HOST/boto_host is specified. |
Fixed #675: Added an ENV/Option to Configure USE_SIGV4
Currently the AWS S3 Auth sigv4 isn't supported with the docker-registry. So any new Bucket that is created on the new AWS Datacenters aren't supported.
My suggestion is, to introduce AWS_SIGV4 environment variable which could be either True or False and is False by default (the current).
Also AWS_SIGV4 could only be SET, when AWS_HOST is set, it won't work without since the SIGV4 needs an host to be specified.
The other route would be to automatically set SIGV4, when the user sets the HOST via AWS_HOST.
Both solution are currently blocked by #674.
The text was updated successfully, but these errors were encountered: