0
私はAWSのためのWebインターフェイス上でthis settingを見つけることができません。AWSの信頼関係を設定する場所はどこですか?
あなたはまた、役割を引き受けるために(それは同じだとしても) アカウントを許可するロールの信頼関係を編集する必要があります。
open the role that you want to assume in the console click on the "Trust Relationships" tab click on "Edit RelationShip"
おそらくスクリーンショットはありますか?私はAWS Command Line Interface User Guideマニュアルを読んでいますが、信頼関係を設定する場所は見当たりません。
[email protected]:~$
[email protected]:~$ cat .aws/config
[default]
output = text
region = us-west-2
[profile thufir]
role_arn = arn:aws:iam::1234567890:user/thufir
source_profile = default
[email protected]:~$
[email protected]:~$ aws iam list-users
USERS arn:aws:iam::1234567890:user/thufir 2017-01-02T10:09:01Z / ABCDEFGIJKL thufir
[email protected]:~$
[email protected]:~$ aws s3 ls --profile thufir
An error occurred (AccessDenied) when calling the AssumeRole operation: Roles may not be assumed by root accounts.
[email protected]:~$
[email protected]:~$ export AWS_DEFAULT_PROFILE=thufir
[email protected]:~$
[email protected]:~$ aws s3 ls --profile thufir
An error occurred (AccessDenied) when calling the AssumeRole operation: Roles may not be assumed by root accounts.
[email protected]:~$