CmdID

CmdID / aws / aws iam

aws iam list-entities-for-policy

Lists all IAM users, groups, and roles that the specified managed policy is attached to. AWS CLI reference

6 options Its page in the AWS CLI reference

Opens CmdID with your command. It is read in your browser and sent nowhere.

Options

6 in the AWS CLI reference
--entity-filterThe entity type to use for filtering the results.
--markerUse this parameter only when paginating results and only after you receive a response indicating that the results are truncated.
--max-itemsUse this only when paginating results to indicate the maximum number of items you want in the response.
--path-prefixThe path prefix for filtering the results.
--policy-arnThe Amazon Resource Name (ARN) of the IAM policy for which you want the versions.
--policy-usage-filterThe policy usage method to use for filtering the results.