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
Which specifies both region and role. This works with aws cli and, surely, there is a common expectation that it should work here as well. Currently .aws/config seems to be ignored (related #18, cloudyr/aws.s3#168).
Would be great if,
profiles where searched in .aws./config first for region and role
Any roles be assumed automatically like in aws cli
The text was updated successfully, but these errors were encountered:
This is absolutely something I would like to see working. Thank you for raising this ticket.
It's complicated by (as was noted over in cloudyr/aws.iam#13) a lot of the needed functionality being split over the two packages. I think to support this all of the credentials type code (parsing the config files, running down the list here, assuming a role as part of that) would be better living in one package, as otherwise they'd have circular dependencies anyway. It always seemed a little weird to me that aws.iam was both "make roles and users" and "assume roles", when the latter is another source of credentials. But ultimately, as long as which package a user needs to install is clearly communicated, I think that it doesn't matter which package this functionality ends up in.
A reference to how the paws package is handling the credential_process problem - paws-r/paws@86de247, and an approach for source_profile as well - paws-r/paws#253 (comment). Would be fantastic to get similar support in the cloudyr ecosystem!
Please specify whether your issue is about:
My
.aws/config
file has entries like thisWhich specifies both region and role. This works with aws cli and, surely, there is a common expectation that it should work here as well. Currently
.aws/config
seems to be ignored (related #18, cloudyr/aws.s3#168).Would be great if,
.aws./config
first for region and roleThe text was updated successfully, but these errors were encountered: