> ## Content Index
> Fetch the complete content index at: https://devopscube.com/llms.txt
> Use this file to discover other available public pages before exploring further.

# How to Change Password of IAM User in AWS?
- URL: https://devopscube.com/change-password-of-iam-user/
- Published: 2025-04-25T04:30:48.000Z
- Updated: 2025-05-31T08:09:26.000Z
- Author: Bibin Wilson
- Tags: #blog, #arunlal, AWS, HOW TO GUIDES

In this blog, we'll learn how to change the password of an IAM user in AWS using console and AWS CLI.

[AWS IAM](https://devopscube.com/aws-iam-role-instance-profile/) (Identity and Access Management) is a service that manages the access-related operations, such as creating users and groups, configuring permissions, and managing login credentials.

💡

****Note**: Not everyone can reset the IAM User password. Only a user who has the `iam:UdateLogingProfile` permission or has the admin privileges only can do it. So if you are not an admin, contact the admin or who has privileges to reset the password.

## Reset AWS IAM User Password

There are two methods to reset the IAM user password.

1. From AWS console
2. Use the [CLI](https://devopscube.com/setup-google-cloud-clisdk/)

### Method 1: Resetting Password from AWS Console

Log in to the AWS console as a privileged or admin user.

Open the IAM dashboard and click to open the `Users` tab from the left side panel under the `Access management.`

![Listing IAM user from the AWS IAM console](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/04/image-122.png)

Select the user for whom you want to reset the password.

On the next page, select the `Security credentials` tab

![selecting the secrity credentials of the IAM user to modify the users' console access](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/04/image-123.png)

Selec the `Manage console access` tab from the "Console sign-in" section.

![selecting the manage console access to change the configuration of the consoel access to reset the passoword](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/04/image-124.png)

On the next page, choose `Reset password` and select the `Autogenerated password` To create a temporary password, also allow the user to log in with it and reset their password to the intended one.

![selecting the resetting password option to to reset the IAM user credentials ](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/04/image-125.png)

Share the temporary credentials to the user to login.

![downloading the temporary IAM user credentials to provide to the user for the login](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/04/image-126.png)

The user will be prompted to set a new password on their first login. 

### Method 2: Reset IAM User Password Using the AWS CLI

Here, the [CLI](https://devopscube.com/use-aws-cli-create-ec2-instance/) also has to be configured with the admin credentials, such as Secret Key and Secret Access Key.

![The cli output of the aws cli configuration with the user credentials ](https://storage.ghost.io/c/5f/2f/5f2f4d20-2abf-4534-8d40-7aa233aedd43/content/images/2025/04/image-127.png)

To reset the password from the CLI, use the following command. 

```
aws iam update-login-profile \
    --user-name <IAM_USER_NAME> \
    --password <NEW_PASSWORD> \
    --password-reset-required

```

Replace the `<IAM_USER_NAME>` and `<NEW_PASSWORD>` with the actual values.

> Note: To avoid the security breaches, always use a password rotation policies, enable MFA, monitor user activities using CloudTrail and mainly not providing admin credentials.