How to query IAM Role and Policies to be Deprecated

0

How to query IAM Role and Policies to be Deprecated. Does AWS Access Analyzer list IAM role and policies which are to be deprecated? Also is there a better way to query list of Action Items which are deprecated?

asked a year ago363 views
1 Answer
0

You can find deprecated AWS managed policies in your account using the following AWS CLI command:

aws iam list-policies --query Policies[?IsAttachable==\`false\`]
profile pictureAWS
EXPERT
kentrad
answered a year ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions