Web services 在何处配置AWS信任关系?
我在AWS的web界面上找不到: 您还需要编辑角色的信任关系以允许 帐户(即使它是相同的)来承担这个角色Web services 在何处配置AWS信任关系?,web-services,amazon-web-services,amazon-ec2,login,Web Services,Amazon Web Services,Amazon Ec2,Login,我在AWS的web界面上找不到: 您还需要编辑角色的信任关系以允许 帐户(即使它是相同的)来承担这个角色 open the role that you want to assume in the console click on the "Trust Relationships" tab click on "Edit RelationShip" 可能有截图吗?我正在阅读手册,但不知道在哪里配置信任关系 thufir@doge:~$ thufir@doge:~$ cat .aws/config
open the role that you want to assume in the console
click on the "Trust Relationships" tab
click on "Edit RelationShip"
可能有截图吗?我正在阅读手册,但不知道在哪里配置信任关系
thufir@doge:~$
thufir@doge:~$ cat .aws/config
[default]
output = text
region = us-west-2
[profile thufir]
role_arn = arn:aws:iam::1234567890:user/thufir
source_profile = default
thufir@doge:~$
thufir@doge:~$ aws iam list-users
USERS arn:aws:iam::1234567890:user/thufir 2017-01-02T10:09:01Z / ABCDEFGIJKL thufir
thufir@doge:~$
thufir@doge:~$ aws s3 ls --profile thufir
An error occurred (AccessDenied) when calling the AssumeRole operation: Roles may not be assumed by root accounts.
thufir@doge:~$
thufir@doge:~$ export AWS_DEFAULT_PROFILE=thufir
thufir@doge:~$
thufir@doge:~$ aws s3 ls --profile thufir
An error occurred (AccessDenied) when calling the AssumeRole operation: Roles may not be assumed by root accounts.
thufir@doge:~$
使用AWS控制台,访问,然后单击相关角色。完成此操作后,您将看到这样一个页面,其中包含“信任关系”选项卡:
使用AWS控制台,访问,然后单击相关角色。完成此操作后,您将看到这样一个页面,其中包含“信任关系”选项卡: