Switching between different AWS profiles is a common task for those managing multiple AWS accounts. Whether you’re a developer working on various projects or an administrator overseeing different environments, knowing how to switch profiles using the AWS CLI can save you time and streamline your workflow. To temporarily switch profiles using the AWS CLI, you have to add the argument to your AWS…

Source