Skip to content
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

Closed
jhmartin opened this issue Jul 24, 2015 · 7 comments
Closed

Docker Registry to support AWS IAM roles for S3 storage #741

jhmartin opened this issue Jul 24, 2015 · 7 comments
Labels

Comments

@jhmartin
Copy link

The docker registry should support fetching temporary credentials via the AWS IAM instance-role function rather than requiring hardcoded credentials.

@stevvooe
Copy link
Collaborator

@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?

@stevvooe
Copy link
Collaborator

@jhmartin
Copy link
Author

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.

@moshe0076
Copy link

If you are using IAM role just remove the:
accesskey: awsaccesskey
secretkey: awssecretkey
lines from the config.yml and it should work.

@rokka-n
Copy link

rokka-n commented Feb 15, 2017

Can somebody fix the documentation, if it's already implemented?
It's still mentioned that keys required:
https://docs.docker.com/registry/storage-drivers/s3/

@stevvooe
Copy link
Collaborator

@mstanleyjones PTAL

@mdlinville
Copy link
Contributor

docker/docs#1711

thaJeztah pushed a commit to thaJeztah/distribution that referenced this issue Apr 22, 2021
thaJeztah pushed a commit to thaJeztah/distribution that referenced this issue Jan 19, 2022
dylanrhysscott pushed a commit to digitalocean/docker-distribution that referenced this issue Jan 5, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

5 participants