CmdID

CmdID / aws / aws iam

aws iam get-context-keys-for-principal-policy

Gets a list of all of the context keys referenced in all the IAM policies that are attached to the specified IAM entity. AWS CLI reference

2 options Its page in the AWS CLI reference

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

Options

2 in the AWS CLI reference
--policy-input-listAn optional list of additional policies for which you want the list of context keys that are referenced.
--policy-source-arnThe ARN of a user, group, or role whose policies contain the context keys that you want listed.