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
preguntada hace un año209 visualizaciones
1 Respuesta
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
EXPERTO
respondido hace un año
profile picture
EXPERTO
revisado hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas