AWS访问帐户和帐单信息的权限

时间:2015-08-06 12:21:22

标签: amazon-web-services

我有一个具有管理员权限的IAM用户。

{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Effect": "Allow",
      "Action": "*",
      "Resource": "*"
    }
  ]
}

但是当我尝试访问“/ billing”页面时,AWS说

You are not authorized to perform this operation.
You are currently signed in as an IAM user that does not have permissions to the requested page.

我还试图生成像

这样的特定政策
{
    "Version": "2012-10-17",
    "Statement": [
        {
            "Sid": "Stmt1438861751000",
            "Effect": "Allow",
            "Action": [
                "aws-portal:ViewBilling"
            ],
            "Resource": [
                "*"
            ]
        }
    ]
}

但它没有改变任何东西。我仍然无法访问结算信息。

当我进入政策模拟页面时,它表示允许用户获得许可。

我已经看过AWS指南并试图遵循它。 http://docs.aws.amazon.com/awsaccountbilling/latest/aboutv2/billing-permissions-ref.html

有什么我想念的吗?它可能是什么?

1 个答案:

答案 0 :(得分:17)

除个人帐户的权限外,还有一个帐户设置可启用IAM用户访问权限。在billing home page上, 向下滚动并查找 IAM用户访问结算信息。它可能看起来像这样:

Screenshot of IAM User Access to Billing (before)

您需要编辑和更新此项以允许IAM用户访问:

Screenshot of IAM User Access to Billing (after)