aws.signature
aws.signature copied to clipboard
Use the /.aws/config file for region
Since credentials can be obtained from the ~/.aws/credentials
file, I was wondering if the default-region parameter can also be obtained from the AWS CLI config file ~/.aws/config
?
This is not currently possible. Would it be useful?
Sorry for just getting back here! I think it'll be useful to incorporate it if it is possible because it is far easier to maintain region configuration across both AWS CLI and R scripts this way.
If it's not doable, I suggest at least making a note of it in the documentation. I had assumed the library would pull from the config file since the credentials were automatically pulled too, and stumbled upon region mismatch problems.
@leeper I would also find this very useful