如何以编程方式创建启用AWS Console的用户

时间:2021-11-01 02:17:13

I'm trying to add programmatically a "working" AWS account via API.

我正在尝试通过API以编程方式添加“工作”AWS账户。

Actually I'm performing this operations:

其实我正在执行此操作:

  • Authentication
  • 认证
  • CreateUser (login)
  • CreateUser(登录)
  • CreateLoginProfile (password)
  • CreateLoginProfile(密码)

When I go on "AWS" console I get an error an if I look to the Accounts linked to the Organization I can't find my new account. But if I go on https://console.aws.amazon.com/iam/home#/home the user is there.

当我进入“AWS”控制台时,如果我查看链接到组织的帐户我找不到我的新帐户,我会收到错误。但如果我继续访问https://console.aws.amazon.com/iam/home#/home,那么用户就在那里。

Do I'm missing something? Is there any difference between USER and ACCOUNT?

我错过了什么吗? USER和ACCOUNT之间有什么区别吗?

1 个解决方案

#1


1  

Of course USER and ACCOUNT are different. An account contains users and other resources (S3 bucket, EC2 instance). If you want to create new AWS account, you need to use Organizations API.

当然USER和ACCOUNT是不同的。帐户包含用户和其他资源(S3存储桶,EC2实例)。如果要创建新的AWS账户,则需要使用Organizations API。

See:

看到:

#1


1  

Of course USER and ACCOUNT are different. An account contains users and other resources (S3 bucket, EC2 instance). If you want to create new AWS account, you need to use Organizations API.

当然USER和ACCOUNT是不同的。帐户包含用户和其他资源(S3存储桶,EC2实例)。如果要创建新的AWS账户,则需要使用Organizations API。

See:

看到: