1개 답변
- 최신
- 최다 투표
- 가장 많은 댓글
0
Hello
- you could use a get-policy-version
aws iam get-policy-version --policy-arn arn:aws:iam::ACCOUNTNUMBER:policy/MyPolicy --version-id v1
https://docs.aws.amazon.com/cli/latest/reference/iam/get-policy-version.html
- if you are using organizations, you could do a "describe-policy" to get the content.
aws organizations describe-policy --policy-id p-yourPolicyID
https://docs.aws.amazon.com/cli/latest/reference/organizations/describe-policy.html
hope this helps,
RT
답변함 5년 전