bmo get users
command. To view detailed information about the current users in Bare Metal Orchestrator: - Establish a CLI session on the Bare Metal Orchestrator VM and log in. For high availability configurations, establish a CLI session using the virtual IP (VIP) of the Load Balancers for the Bare Metal Orchestrator cluster.
- Create token. Run the following command:
bmo create token --username admin --password <PASSWORD> --update-kubeconfig=<kube-config-path>
where username and password are the admin user credentials.
Note: The create token command creates three tokens:- Access token - required for user create, read, update, and delete operations.
- ID token - required for all Bare Metal Orchestrator operations.
- Refresh token - required to refresh the access token and the ID token.
- Export the access token. Run the following command:
export token=<access-token>
- Run the following command:
bmo get users --token $token
For more information about the fields, see User field definitions.
The following is an example output for the
bmo get users
command.
[
{
"active": true,
"displayName": "Bob",
"emails": [
{
"value": "bob@dell.com"
}
],
"groups": [
{
"display": "",
"value": "global-reader"
}
],
"id": "6b611e88-9755-4e9c-ac95-1697776f2ad1",
"meta": {},
"name": {},
"userName": "bob"
},
{
"active": true,
"id": "c247fe66-5169-4f90-babc-ed29a71ed845",
"meta": {},
"name": {
"givenName": "Kyle"
},
"emails": [
{
"value": "kyle@dell.com"
}
],
"groups": [
{
"display": "",
"value": "global-admin"
}
],
"userName": "kyle"
},
]