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
While unicreds support specifying an alternate profile, it does not have the ability to assume a role using that (or the default) profile as shown in the AWS docs here.
Ideally, there'd be another optional parameter to specify the role to assume.
Even better would be the ability to use pre-defined profiles specified in ~/.aws/config as in this example:
Not really sure why ~/.aws/config seems to be ignored with the SDK but not in the CLI.
I've seen an additional role_arn parameter in the config as in this terraform example which only just came out in 0.8.7 so you can look how they did it here:
While unicreds support specifying an alternate profile, it does not have the ability to assume a role using that (or the default) profile as shown in the AWS docs here.
Ideally, there'd be another optional parameter to specify the role to assume.
Even better would be the ability to use pre-defined profiles specified in
~/.aws/config
as in this example:which works with the aws cli as in this example (documented here):
Not really sure why
~/.aws/config
seems to be ignored with the SDK but not in the CLI.I've seen an additional
role_arn
parameter in the config as in this terraform example which only just came out in 0.8.7 so you can look how they did it here:Looking over the credstash usage, this would be functionally equivalent to the
--arn
parameterThe text was updated successfully, but these errors were encountered: