Optionally, you can change the password using the web UI using the Reset password option.
Home > Communication Service Provider Solutions > Infrastructure Automation > Bare Metal Orchestrator Guides > Bare Metal Orchestrator Release 2.2 Guides > Bare Metal Orchestrator 2.2 Command Line Interface User's Guide > Change user password
Optionally, you can change the password using the web UI using the Reset password option.
For the initial IAM admin user, you have to provide the required admin details in the YAML file including the new password to be used.
A sample user.yaml file is available at ~/samples/user-profile in mw_bundle.
An example of the user profile file for a user with the admin role is shown below:
username: kyle
password: dummypassword
displayName: Kyle
active: true
groups:
- value: global-admin
emails:
- value: kyle@dell.com
An example of the user profile file for a user with the global reader role is shown below:
username: bob
password: dummypassword
displayName: Bob
active: true
groups:
- value: global-reader
emails:
- value: bob@dell.com
bmo create token --username admin --password <PASSWORD> --update-kubeconfig=<kube-config-path>
where username and password are the admin user credentials.
export token=<access-token>
bmo edit user --file <username>.yaml --token $token