When you’re working with the AWS CLI, it’s crucial to understand what permissions your active IAM user or role has. Not knowing what you’re authorized to do can lead to unexpected outcomes or wasted time trying to perform tasks you don’t have access to. That’s why it’s useful to be able to test your permissions via the AWS CLI. In this post, I’ll walk you through how you can list the permissions…

Source