Change a user name and password for a bare metal host¶
This section describes how to change a user name and password of a bare metal
host using an existing
To change a user name and password for a bare metal host:
BareMetalHostCredentialobject of the required bare metal host for editing.
spec: username: admin password: value: superpassword
This action triggers creation of a new
Secretobject with updated credentials. After that, sensitive
passworddata is replaced with the new
Secretobject name. For a detailed workflow description, see API Reference: BareMetalHostCredential.
Adding a password value is mandatory for a user name change. You can either create a new password value or copy the existing one from the related
Changing a user name in the related
Secretobject does not automatically update the
BareMetalHostCredentialobject. Therefore, Mirantis recommends updating credentials only using the the