You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you have multiple superset hosts across various environments you also have the option
18
+
to create individual env files per environment. More details below.
19
+
17
20
## What is my user name?
18
21
19
22
If your Superset instance is setup to authenicate via SSO then your authenticating agent will most likely have provided a username for you in the form of a UUID value.
@@ -57,6 +60,59 @@ Edit the params to only consist of only the password field and the value of your
57
60
58
61
And click Execute.
59
62
60
-
Create your `.env`
61
-
Add your username and password to the `.env` file.
63
+
Within your `.env` now add your username and password.
64
+
65
+
# Accessing API across Multiple Environments
66
+
67
+
Given some local development requirements where you have to access multiple superset hosts across various environments with different credentials you can setup the env creds as follows.
68
+
69
+
Just set the overall superset environment in `.env`
70
+
71
+
```
72
+
# .env file holding one setting for the overall superset environment
73
+
SUPERSET_ENVIRONMENT='staging'
74
+
```
75
+
76
+
Then create a new file called `.env-staging` that holds your superset staging host and credentials.
0 commit comments