create user

Prev Next

iagctl create user

Create a user

Synopsis

This command will create a user on a gateway server when executed from a gateway client.

All of the users that are created within gateway are considered superusers and have full access to the system. It is important to have full trust when creating users.

Admin User

If no users have been manually created, you will first need to log in with the admin user before running this command. See the Admin User Creation section of the iagctl server -h help menu for more information.

Temporary Passwords

If the --temp-password flag is used, the newly created user will be required to change the password at the next login. This is useful for setting up new users without sharing any permanent passwords.

iagctl create user <username> [flags]

Examples

Create New User

iagctl create user kevin
Enter your password:
Re-enter your password for verification:
Password verified successfully!

Successfully created user
Name:   kevin

Create New User with Temporary Password

iagctl create user user1 --temp-password

Options

-h, --help        Help for user
--temp-password   Set temporary password. The user will be required to change this when logging in.

Options Inherited from Parent Commands

  --config string   Path to the configuration file
  --raw             Displays the result of the command in its raw format
  --verbose         Enable verbose output

CLI References

See related create commands: