Replies: 2 comments
-
What did you do eventually? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Was anybody able to achieve the same thing in v2? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently in our code we have a list of credentials.Provider defined with V1 SDK, something like:
in this way, we are able to deploy same code to different environments that read credentials in different way.
Locally different devs have different ways to run their code too, some with aws-vault's ecs, some with ec2, some just run the command directly with custom profile.
Now with V2, if I defined all these in one shot, the credentials doesnt 'chain'.
Example when I try to run
it's trying to connect to my ec2 but what I really want to is for it to try connecting with profile first, then with ec2.
So, is there any way to achieve this like the old ChainProvider without having to add on conditions in code?
Thanks!!!
Beta Was this translation helpful? Give feedback.
All reactions