- Newest
- Most votes
- Most comments
Hi,
To your questions:
- Based on your requests, you should have very strict naming conventions of your AWS resources. You can then relate those resources to your different teams and grant those teams only fully access to resources that match the right naming pattern corresponding to the auths of the team
- Yes, you can switch role when login with the console. See https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_use_switch-role-console.html It is a best practice to avoid assigning credentials to IAM user and force them to switch role when logging in with the console.
- Yes, you can enforce the existence of MFA at console sign-in: https://docs.aws.amazon.com/singlesignon/latest/userguide/how-to-configure-mfa-device-enforcement.html You can also enforce its use from CLI: see https://repost.aws/knowledge-center/mfa-iam-user-aws-cli and https://repost.aws/knowledge-center/authenticate-mfa-cli
Best,
Didier
Hello,
I would like to know whether you have done this or are planning to do so:
Usually, we have a cloud admin team, so we create an IAM group for this team with AWS Managed Policy "AdministratorAccess" attached, or we create a role with AdministratorAccess" attached. But, in this way CSPM and AWS Security Hub mark as failed this control.
Because I saw in ”[IAM.1] IAM policies should not allow full "*" administrative privileges“ that The control only checks the customer managed policies that you create. It does not check inline and AWS managed policies.
So I think "create an IAM group for this team with AWS Managed Policy "AdministratorAccess" attached, or we create a role with AdministratorAccess" attached. " can solve your first and second questions
About the "Is there any way for MFA enforcement for all users/groups? ", I don't think there is a way to do this from what I know so far, the current official tutorial is to create a policy and then associate it to a user group to restrict it, you can try to separate the user group used for the application from the rest of the user group.
Relevant content
- asked 2 years ago
- asked 2 years ago
- AWS OFFICIALUpdated 2 years ago
