Relative Content

Tag Archive for amazon-web-servicesamazon-iam

In AWS, how to find the SAML assumed IAM roles current sessions for all users?

In our AWS accounts we use an Identity Provider to log in (console, cli) with IAM Roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers.html). We have federated IAM Roles like Developer, ReadOnly, FullAdmin. I mention that it is only human operators (not other AWS services) that use these roles.
From the IAM Role Trusted Entities:

In AWS, how to find the SAML assumed IAM roles current sessions for all users?

In our AWS accounts we use an Identity Provider to log in (console, cli) with IAM Roles (https://docs.aws.amazon.com/IAM/latest/UserGuide/id_roles_providers.html). We have federated IAM Roles like Developer, ReadOnly, FullAdmin. I mention that it is only human operators (not other AWS services) that use these roles.
From the IAM Role Trusted Entities:

How to deny all actions except one in an IAM resource policy

There is an IAM policy for a role granting access to a bucket. I would like the DENY part of the bucket policy to override that access. I am trying to craft an S3 bucket policy to deny all actions except one (S3:GetBucketLocation) in the IAM resource policy, with a condition on the principal ARN. I can’t seem to get it to work (either GetBucketLocation is denied or other actions are allowed). Is there a standard pattern for this?

Unable to require and set up IAM users to use MFA

I am somewhat of an AWS/IAM noob, and I need to require all my users to use MFA in AWS AIM, but I am unable to find the setting to require that. If I follow a lot of the instructions I’m finding, it only walks me through setting it up on my own phone, not allowing my users to set it up. I did find these instructions, but when I go to my IAM Identity Center Console, there is no left nav with a Settings option, and I can’t find this Configure multi-factor authentication page.

How to change the IAM username in my AWS account?

I have been using an AWS account for more than 6 months now and it was created by my Manager for project purposes. At first, it was made for testing purposes but it is now handled by 3-5 people in my team. The account’s username is my name, which I need to change to my team name or the project name. But I can’t find an option for that in the Users dashboard.