bmo create user --file <username>.yaml --token $token
bmo create user -f <username>.yaml --token $token
Creates a user using the user.yaml file and generates a kubeconfig file. The user must authenticate with the kubeconfig file when using the Bare Metal Orchestrator CLI as a remote client.
If the user has Global Admin privileges, the generated kubeconfig file authorizes the user to perform admin-level tasks like creating and deleting servers, sites, and other users.
Each user requires a copy of their generated kubeconfig.yaml file to authenticate when using a local copy of the CLI as a remote client.
Argument Definitions
- username.yaml
- The profile
.yaml
file that you create for the user. For example: ryan.yaml
- kubeconfig.yaml
- The name of the generated kubeconfig .yaml file for role-based access to the resources. For example: ryanconfig.yaml