я не могу найти this setting на веб-интерфейс для AWS:где настраивать доверительные отношения 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]:~$