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
gefragt vor 10 Monaten197 Aufrufe
1 Antwort
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
EXPERTE
beantwortet vor 10 Monaten
profile picture
EXPERTE
überprüft vor 10 Monaten

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen