CloudNatix logo

CLI User Guide

User Management

Technical Overview

CloudNatix enables root-admin users to manage users and their roles.

Basic Operations

View the Current User Information

Type the following command to view the information of the current login user:

cnatix iam users self

List All Users

Type the following command to list all users:

cnatix iam users list

Create a New User

Type the following command to list all users:

cnatix iam users create \
  --login "${EMAIL_ADDRESS}" \
  --first-name "${FIRST_NAME}" \
  --last-name "${LAST_NAME}" \
  --role-binding "${ORG_UUID}:${ROLE}"

--role-binding specifies one or more than one role bindings associated with the user. Each role binding takes an org UUID and a role where the role is viewer (= read-only), user (= read and write), or admin (= administrative privilege).

Once a new user is created, the activation email will be sent to the specified email address.

Update a User

Type the following command to update a user:

cnatix iam users update \
  --uuid "${UUID}" \
  --first-name "${FIRST_NAME}" \
  --last-name "${LAST_NAME}" \
  --role-binding "${ORG_UUID}:${ROLE}"

Delete a User

Type the following command to delete a user:

cnatix iam users delete --uuid "${UUID}"
Previous
Organization and Resource Management
Next
Cluster Controller Management