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
posta 10 mesi fa197 visualizzazioni
1 Risposta
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
ESPERTO
con risposta 10 mesi fa
profile picture
ESPERTO
verificato 10 mesi fa

Accesso non effettuato. Accedi per postare una risposta.

Una buona risposta soddisfa chiaramente la domanda, fornisce un feedback costruttivo e incoraggia la crescita professionale del richiedente.

Linee guida per rispondere alle domande