You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Does Amazonica support utilizing role_arn's from profiles within ~/.aws/config?
In my ~/.aws/config I have a role_arn in a profile declaration that lets me access the api of one account using access/secret keys from another account:
I have tried passing the following combinations as credential maps to list-hosted-zones to attempt to leverage the arn defined within the profile in ~/.aws/config without any luck:
Theoretically this should be supported. And the incantation to choose the profile is passing a map as the first arg to any function, like you had, {:profile "foo"}. Whether or not it's actually supported via the Java SDK for this route 53 call, I don't know. I looked through the Java source and it looks like it is, but I can't really tell. You can prove that the profile key syntax works though pretty easy, if you want to.
Does Amazonica support utilizing
role_arn's
from profiles within~/.aws/config
?In my
~/.aws/config
I have arole_arn
in a profile declaration that lets me access the api of one account using access/secret keys from another account:From the command line I am able to specify a profile that I would like to utilize like below:
This successfully fetches results.
I have tried passing the following combinations as credential maps to
list-hosted-zones
to attempt to leverage the arn defined within the profile in ~/.aws/config without any luck:If this is supported, what would the correct incantation be to leverage the role_arn from the profile in ~/.aws/config?
The text was updated successfully, but these errors were encountered: