-
-
Notifications
You must be signed in to change notification settings - Fork 57
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
Download from publicly readable S3 bucket with no credentials #208
Comments
Have you tried with fake credentials? also, you can implement your own engine that does exactly what you're asking for. See https://github.com/tmspzz/Rome#custom-engine and an example at: https://github.com/tmspzz/Rome/blob/master/example-engines/google.py |
Fake values are ending up with: Thx, I'll take a look at the custom engine. Do you think it would worth baking it into the default S3 engine itself? |
I could add it, but for one it would contradict this other ticket #201 i believe. Second, it would take me much longer than it would take you to make a couple of |
If I'm going to create a custom engine with simple |
Yes, you will have to take care of uploading and downloading. You could use the AWS cli inside your engine for example. |
Roger, thx for all the information! |
Enhancement Suggestion
I would like to set up a workflow, where only a CI service would have proper AWS credentials configured (and have write access to an S3 bucket) and all the other developers in the team would be able to download cached dependencies without providing any environment variables (
AWS_ACCESS_KEY_ID
/AWS_SECRET_ACCESS_KEY
) or stored credentials (.aws/credentials
).Current behavior
With no credentials provided, I got:
Unable to read ENV variable: AWS_ACCESS_KEY_ID. Could not find key
aws_access_key_idfor profile
defaultin file ~/.aws/credentials
With empty access key and secret access key values, I got:
The authorization header is malformed; a non-empty Access Key (AKID) must be provided in the credential.
Suggested behavior
There should be a way to download dependencies from publicly accessible S3 bucket without providing credentials.
Rome version:
0.23.1.61 - Romam uno die non fuisse conditam.
The text was updated successfully, but these errors were encountered: