s3 driver fails to accept AWS credentials supplied via environment
Bug #2054745 reported by
Shrishail Kariyappanavar
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
glance_store |
New
|
Undecided
|
Unassigned |
Bug Description
As of now the s3 driver only accepts credentials to AWS via glance-api.conf. We need to relax that and allow users to supply credentials via environment as well.
For example, aws credentials helper runs a server to fetch short lived credentials via an HTTP server, the server endpoint can be added to env via AWS_EC2_
The boto library being used already supports that, we just need to provide an option to initiate boto session without any parameters for cases where access_key and secret_key are not configured in glance_api.conf
To post a comment you must log in.