gpt4 book ai didi

amazon-web-services - AWS 访问账户和账单信息的权限

转载 作者:行者123 更新时间:2023-12-05 01:33:49 24 4
gpt4 key购买 nike

我有一个具有管理员权限的 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

有什么我想念的吗?会是什么呢?

最佳答案

除了对单个账户的权限之外,还有一个账户设置来启用 IAM 用户访问。关于billing home page ,
向下滚动并查找 IAM 用户对账单信息的访问权限 .它可能看起来像这样:

Screenshot of IAM User Access to Billing (before)

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

Screenshot of IAM User Access to Billing (after)

关于amazon-web-services - AWS 访问账户和账单信息的权限,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/31855641/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com