Modifying a User
Using Cockpit, you can modify the name of a specified user. Using AWS CLI, you can modify its name and/or path.
Modifying a User Using Cockpit
-
Hover over your name.
A drop-down menu appears. -
Click Users and Policies Management .
-
In the EIM navigation panel, click Users.
The Users page appears. -
Click the user you want to modify.
The user is selected. -
Click Update .
The UPDATE USER dialog box appears. -
In the New username field, type the new name you want to give to the user.
This name must be unique and must contain between 1 and 64 characters. Allowed characters are a-z, A-Z, 0-9, and +=,.@-_.
-
Click Update to validate.
The name of the user is modified and appears on the Users page.
Modifying a User Using AWS CLI
To modify the name and/or the path of a specified user, use the update-user command following this syntax:
$ aws iam update-user \
--profile YOUR_PROFILE \
--user-name USER_NAME \
--new-path /NEW_PATH/NEW_SUB_PATH/ \
--new-user-name NEW_USER_NAME \
--endpoint https://eim.eu-west-2.outscale.com
This command contains the following attributes that you need to specify:
-
(optional)
profile
: The named profile you want to use, created when configuring AWS CLI. For more information, see Installing and Configuring AWS CLI. -
user-name
: The name of the user you want to modify.This name must be unique and must contain between 1 and 64 characters. Allowed characters are a-z, A-Z, 0-9, and +=,.@-_.
-
(optional)
new-path
: The new path for the user. -
(optional)
new-user-name
: The new name for the user. -
endpoint
: The endpoint corresponding to the Region you want to send the request to.
The path and/or the name of the specified user are modified.
Related Pages
Corresponding API Method
AWS™ and Amazon Web Services™ are trademarks of Amazon Technologies, Inc or its affiliates in the United States and/or other countries.