Answer the question
In order to leave comments, you need to log in
How to add policy to assumed user? Or why is it not possible?
hello everyone,
with help
aws sts assume-role --role-arn arn:aws:iam::123456789012:role/miniadmin --role-session-name temporary
aws iam attach-user-policy --policy-arn arn:aws:iam::123456789012:policy/s3bucketput --user-name miniadmin
returns no user miniadmin, which is generally true. With this in the aws console, I can add this policy (s3bucketput) to the miniadmin role with no problem! But you need from CLI Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question