User name and password
Some visualization tools (e.g., BI tools) can pass user name and, sometimes, password to Cube.
Configuration
By default, CUBEJS_SQL_USER
and CUBEJS_SQL_PASSWORD
environment variables are used
to verify the credentials. You can also customize the authentication by using the
check_sql_auth
configuration option.
Also, the CUBEJS_SQL_SUPER_USER
environment variable or the can_switch_sql_user
configuration option can be used to ensure that the
user name can be changed after the initial authentication.