aws-requests-auth icon indicating copy to clipboard operation
aws-requests-auth copied to clipboard

Update botocore initializer to allow region autodiscovery

Open 007 opened this issue 8 years ago • 0 comments

Referencing this: https://github.com/DavidMuller/aws-requests-auth/blob/bd638ea84903e4c2f482dbade610eb978c0a240e/aws_requests_auth/boto_utils.py#L34

This call requires host, region, and service to be provided. Since it uses botocore functionality, it should be able to capture region from the environment if not explicitly supplied. It does have to be override-able, but shouldn't be required by default.

Making region optional is a potentially breaking change, since the order would likely also change.

007 avatar Dec 12 '17 00:12 007