Docker
Assume using a Named Profile, then Volume Link the ~/.aws
directory
saml-to assume the-role-name --save the-profile-name
docker run -v $(PWD)/.aws:/root/.aws amazon/aws-cli ec2 list-instances
Last updated
Assume using a Named Profile, then Volume Link the ~/.aws
directory
saml-to assume the-role-name --save the-profile-name
docker run -v $(PWD)/.aws:/root/.aws amazon/aws-cli ec2 list-instances
Last updated