Atlas utilizes an authentication proxy and Keycloak to enable user access and management within the system.
All you need to do is run
atlas-server start -p and you're ready to go.
DO NOT SKIP THIS STEP.
By default Atlas uses the following publicly available username and password. Make sure you change them.
Since Atlas uses Keycloak, you can use their documentation for information on how to use the Keycloak Console. The console itself will be located at
https://<machine_address>:8443. The admin account can create users and any user can login through the Atlas UI and CLI.
Atlas comes with 2 default accounts that should be changed after testing is done.
Keycloak admin account (used only for accessing the Keycloak admin console):
Atlas test account (used to log into Atlas from the terminal and Atlas Dashboard):
Useful first steps:
Login to Keycloak via the admin console:
Change the admin password using the Keycloak console ("Master" realm > Users > View all users > Edit)
Update the token lifespan to something reasonable for your organization ("Atlas" realm > Realm Settings > Tokens > Access Token Lifespan)
Provision Atlas users ("Atlas" realm > Users > View all users)
Useful Keycloak documentation links
How to launch jobs in an authenticated world¶
Firstly, you will need to login using the foundations login command. Once you are logged in through the CLI, you can submit any job the way that you normally would (e.g. foundations submit and foundations.submit()).
For the configuration file used by
foundations submit and
foundations login <host>, you need to use the address and port of the authentication proxy.
atlas-server start -p
foundations login http://0.0.0.0:5558
Create a config file under
foundations submit atlas . main.py
Open the Atlas UI