Skip to content

Instantly share code, notes, and snippets.

View RAJNISH3's full-sized avatar

RAJNISH TIWARI RAJNISH3

View GitHub Profile
@mafonso
mafonso / list-all-access-keys.sh
Last active October 10, 2023 05:19
List Access Keys for all IAM users
for user in $(aws iam list-users --output text --no-cli-pager | awk '{print $NF}'); do
aws iam list-access-keys --user $user --output text --no-cli-pager
test $? -gt 128 && exit
done