hrbrmstr / metis

Helpers for Accessing and Querying Amazon Athena using R, Including a lightweight RJDBC shim
Other
16 stars 2 forks source link

Use aws.signature for credentials? #1

Open leeper opened 7 years ago

leeper commented 7 years ago

Looks like you're calling AWS credentials files internally. You might want to try importing aws.signature, which will give a use_credentials() function to call an arbitrary credentials file.

(Also, if you want to contribute this to cloudyr, let me know!)

hrbrmstr commented 7 years ago

ty. This def belongs in cloudyr. Just need to get the bugs out of it and finalize the API. Figuring out com.amazonaws.athena.jdbc.shaded.com.amazonaws.auth.EnvironmentVariableCredentialsProvider is what I needed to provide to the JDBC call was the sticking part for me. I'll gladly let other bits manage the cred access for me ;-)

leeper commented 7 years ago

Cool! You have owner rights at cloudyr so feel free to move over there whenever you feel it's ready. And let me know if you want a PR for the credentials stuff.