Login
RegScale Login CLI
The Login CLI command is used to allow a user to authenticate to RegScale. It serves two primary purposes:
- Serves as a "smoke test" to ensure connectivity to RegScale
- Allows for authentication which sets the JSON Web Token (JWT) in the
init.yaml
programmatically which is good for up to 24 hours
How to Use
- Ensure the
domain
variable is set in yourinit.yaml
file to your RegScale instance's URL (i.e.https://mycompany.regscale.com
) - Attempt to login with the command below
regscale login
- At the prompts, enter your username and password
- If authentication was successful, your
init.yaml
will be updated with a newtoken
anduserId
variable
Updated 3 months ago