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 that the server provides.

Logging In The First Time

When running the server for the first time, a temporary admin password will be created.

"start"

While the server is running you can use a Client mode torero instance to login to the server using the Login command. During the login process you will be asked to change the admin password.

Any subsequent login will not require a password.

Admin Creation And Login

flowchart TD subgraph Admin Creation and Login A[Server is started up] --> B[New admin with temp password created] B --> C[Login with temp admin user and password] C --> D[Required to change password] D --> E[Change password] E --> F[Authenticate to server] F --> G[Server generates api key that is passed in grpc calls] end

User Creation with Temp Password

flowchart TD subgraph User Creation with Temp Password H[Another flow is a user is created with temporary flag] --> I[User logs in with the temporary password] I --> J[Required to change password] J --> K[Change password] K --> L[Authenticate to server] L --> M[Server generates api key that is passed in grpc calls] end

Regular User Login

flowchart TD subgraph Regular User Login N[User logs in with password] --> O[Authenticate to server] O --> P[Server generates api key that is passed in grpc calls] end

Resetting The Admin Password

Resetting the admin password needs access to the server to perform the action. The way the reset is handled you will need to have two terminal windows open. One to perform the recover and one to read the secret and input it into the first window.

recover_admin.png

Once you reset the admin account you will need to restart the server and follow the step in the first time login steps.