Skip to content

Commit

Permalink
Simple IAM find roles.
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisguest75 committed Jun 23, 2023
1 parent a7d42a9 commit e6da087
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions 33_awscli/IAM.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# IAM

Demonstrate how to use awscli to manage policies, roles and users.

## Find a role

```sh
AWS_PROFILE=myprofile aws iam list-roles | jq -r '.Roles[] | select(.RoleName | test(".*_mypattern"))'
```

## Resources

* AWS IAM Users vs Groups vs Roles [here](https://www.learnaws.org/2022/09/27/aws-iam-roles-vs-groups/)

0 comments on commit e6da087

Please sign in to comment.