When running in Server Mode you need to log in to the server from the gateway client.
- If this is the first time you're starting the server, follow the first time login procedure.
- An
admin
account must always exist and be in place. - It is also important to create a secure password and protect its contents.
All users within the system are power users, so ensure that any users you create are trusted.
Create a user account
After you log in, you can create a user with the create user
command:
iagctl users create <username> [flags]
When creating a user account for another user, use the --temp-password
flag. This requires the user to change their password the first time they log in to the server.
CLI references
See the command reference for more information on related commands:
-
iagctl get users
-
iagctl describe users
-
iagctl delete users
Get users
The get users command displays a list of all users stored within the database.
iagctl users get [flags]
Describe user
The describe user command displays all information about a specific user in the database. It shows when the user was created as well when they last logged in. A login event occurs when the user successfully runs the login command from an iagctl
client against the gateway server.
iagctl users describe <username> [flags]
Delete user
The delete users command deletes a user from the database. You cannot undo deletion operations. When you delete a user, the system removes all API keys associated with that user and denies further access.
iagctl users delete <username> [flags]