s3 driver fails to accept AWS credentials supplied via environment

Bug #2054745 reported by Shrishail Kariyappanavar
6
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_METADATA_SERVICE_ENDPOINT variable.

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.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.