我正在尝试使用AWS CLI提取凭证报告,如Getting Credential Reports for Your AWS Account - AWS Identity and Access Management所示。
但是,这样做:
我得到的是这样的文件,而不是凭证报告。
我在做什么错?请帮忙。
答案 0 :(得分:1)
您链接的文档页面上显示:
内容->(blob)
包含凭证报告。该报告是 Base64编码的。
来自GitHub: Get IAM Credential Report:
aws iam generate-credential-report
aws iam get-credential-report --output text --query Content | base64 -D