1 réponse
- Le plus récent
- Le plus de votes
- La plupart des commentaires
1
Hey @tausif no there isn't a means to do this natively with AWS CLI.
However dependent on which OS you are running you can run a quick powershell script or linux bash script to perform the same.
Example for bash could start off with gathering those roles that you list all cleaned up by performing something like this
aws iam list-roles | jq -r '.Roles[] | "\(.RoleName)"'
jq is an additional package I use for dealing with json outputs.
Let me know if you have any issues with this, or if it helps you then please accept my answer after you've tried it out - it would be much appreciated! Good luck :)
répondu il y a un an
Contenus pertinents
- demandé il y a 4 mois
- demandé il y a un an
- demandé il y a 4 mois
- demandé il y a 2 mois
- AWS OFFICIELA mis à jour il y a 3 ans
- AWS OFFICIELA mis à jour il y a 2 ans