Note: The composition of aws-vault exec commands is the same whether you use an AWS user or assume an AWS role. In both cases, use a profile name saved with aws-vault.

Further Reading

This article is the second in a series of instructional posts regarding the aws-vault tool. The final one is about using the tool to assume a role in one account from a separate trusted account.

Learn DevOps & Cloud Practices

Learn how to design, build, and operate systems in the Cloud one day and concept at a time. Receive #NoDrama articles in your inbox whenever they are published. Reply to Stephen and the QualiMente team when you want to dig deeper into a topic.