please tell if I need to set up trust policy while creating roles and policy for user


if I am owning a aws account and I have to create roles and policy for the users from that account only do i need to set up trust policy for it or directly i can create policy

asked 8 months ago153 views
1 Answer

IAM policies can be set directly for IAM users.
However, as a best practice, do not set IAM policies directly for IAM users, but create an IAM group and tie IAM policies to that group.
After that, it is best practice to make the IAM user belong to an IAM group.

Also, when creating an IAM role, if you do not have a trust policy set up, you will probably get an error in the first place when creating the role.

profile picture
answered 8 months ago
profile picture
reviewed 8 months ago

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions