- 29 Oct 2024
-
DarkLight
-
PDF
User Login
- Updated on 29 Oct 2024
-
DarkLight
-
PDF
Login
Login allows a user to login to a server running in Server Mode. All users that are created within the system have full access to all resources, secrets and services the server provides.
First Time Login
When running the server for the first time, a temporary admin
account with a password of admin
will be created.
Run the following from the gateway client and then enter admin
as the password:
iagctl login admin
You will then be prompted to enter a new password. Follow all remaining prompts to confirm your password and then login for the first time.
Create Admin Login
To create the admin
login:
- Start up server.
- Create temporary admin user and password.
- Login with temp admin user and password.
- Change password.
- Authenticate to server.
- Server generates API key that is passed in GRPC calls.
Create User with Temp Password
To create a user with a temporary password flag:
- User logs in with temporary password.
- Users is prompted (required) to change password.
- User changes password.
- Users authenticates to server.
- Server generates API key that is passed in GRPC calls.
Regular User Login
Below are the stops for regular user login:
- User logs in with password.
- Authenticate to server.
- Server generates API key that is passed in GRPC calls.
Resetting the Admin Password
Resetting the admin
password requires access to the server instance to perform the reset action.
To reset the password, run:
iagctl server --recover-admin-user
This command will prompt you to enter a new password for the admin user if it is already set.
CLI References
For related login
commands see → iagctl login
For command references see → Command References Index