It would be great if awsume supported the ability to execute a command, while setting up the credentials, only for that specific command.
For example: awsume exec production -- aws s3 ls
In my personal case, I use AWS EKS, and need access to many clusters in many accounts. Since our access is based around Roles and sessions, I need to remember to awsume before trying to interact with the cluster into the right account/role.
I'd like to be able to change my kubeconfig in a way that would awsume automatically to whatever role is required for that one particular cluster.
It would be great if awsume supported the ability to execute a command, while setting up the credentials, only for that specific command.
For example:
awsume exec production -- aws s3 ls
In my personal case, I use AWS EKS, and need access to many clusters in many accounts. Since our access is based around Roles and sessions, I need to remember to awsume before trying to interact with the cluster into the right account/role.
I'd like to be able to change my kubeconfig in a way that would awsume automatically to whatever role is required for that one particular cluster.
So it would look something like this: