![](/img/trans.png)
[英]How can I generate a list of all my IAM roles and the services using those roles on AWS
[英]Can't see AWS billing console despite having the correct IAM roles enabled
我已经创建并设置了正确的策略以允许我查看计费页面,如以下 AWS 文档页面所示:
我也尝试过使用 AWS 为您提供的标准策略,但无济于事。
我有以下 3 个策略,如下所示:AdministratorAccess、Billing 和 BillingFullAccess
所有这些策略都附加到我的帐户所属的用户组。 该组或我的帐户没有附加其他策略。
管理员权限:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": "*",
"Resource": "*"
}
]
}
帐单:
{
"Version": "2012-10-17",
"Statement": [
{
"Effect": "Allow",
"Action": [
"aws-portal:*Billing",
"aws-portal:*Usage",
"aws-portal:*PaymentMethods",
"budgets:ViewBudget",
"budgets:ModifyBudget",
"ce:UpdatePreferences",
"ce:CreateReport",
"ce:UpdateReport",
"ce:DeleteReport",
"ce:CreateNotificationSubscription",
"ce:UpdateNotificationSubscription",
"ce:DeleteNotificationSubscription",
"cur:DescribeReportDefinitions",
"cur:PutReportDefinition",
"cur:ModifyReportDefinition",
"cur:DeleteReportDefinition",
"purchase-orders:*PurchaseOrders"
],
"Resource": "*"
}
]
}
计费完全访问:
{
"Version": "2012-10-17",
"Statement": [
{
"Sid": "VisualEditor0",
"Effect": "Allow",
"Action": "aws-portal:*",
"Resource": "*"
}
]
}
您需要为 IAM 用户启用计费控制台访问权限。
更多细节在这里: https://docs.aws.amazon.com/IAM/latest/UserGuide/tutorial_billing.html#tutorial-billing-step1
您首先需要通过以根用户身份登录来启用计费访问选项。 完成后,在仍以根用户身份登录的情况下,向所需用户授予计费 IAM 权限。 然后登录 IAM 用户并检查计费访问权限。 相同的链接。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.