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

0

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

Neha
asked 10 months ago188 views
1 Answer
0

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.
https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_create_for-user.html

profile picture
EXPERT
answered 10 months ago
profile picture
EXPERT
reviewed 10 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