-
Notifications
You must be signed in to change notification settings - Fork 2.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Docker Registry to support AWS IAM roles for S3 storage #741
Comments
@jhmartin How would this work? Do you have links to documentation? As far as I understand, this is handled on the aws package side, so it is really outside the scope of the registry. This may be already supported. Have you tried it? |
Confirmed this is already supported: https://github.com/docker/distribution/blob/master/Godeps/_workspace/src/github.com/AdRoll/goamz/aws/aws.go#L319. |
Oh! I saw 'required' in the documentation for the access/secret key fields and assumed I would get an error if I omitted them. Excellent. |
If you are using IAM role just remove the: |
Can somebody fix the documentation, if it's already implemented? |
@mstanleyjones PTAL |
The docker registry should support fetching temporary credentials via the AWS IAM instance-role function rather than requiring hardcoded credentials.
The text was updated successfully, but these errors were encountered: