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
Copy file name to clipboardExpand all lines: docs/v13/documentation/publishing.md
+18Lines changed: 18 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -38,3 +38,21 @@ To set a password, you need to add 2 environment variables where the:
38
38
Older versions of the Prototype Kit require a username - you can [migrate your prototype to version 13](./migrate-an-existing-prototype) or set a username.
39
39
40
40
Add another environment variable where the `name` is `USERNAME` and the `value` is whatever username you want to use.
41
+
42
+
## If you want to create additional passwords
43
+
44
+
In some cases you might want to give temporary access to your prototype. For example, for a round of user research or to show it to a stakeholder.
45
+
46
+
To support this, you can create additional passwords. You can revoke these later whilst still providing access for your team via the primary password.
47
+
48
+
To set additional passwords, you need to first add an environment variable `PASSWORD_KEYS` that lists the keys of the additional passwords.
49
+
For example, to add password keys `PASSWORD_01` and `PASSWORD_02` you need to add the following environment variable where the:
50
+
-`name` is `PASSWORD_KEYS`, and the `value` is `PASSWORD_01,PASSWORD_02`
51
+
52
+
The password keys are not the passwords, they just identify them. They can take any unique value that’s a valid environment variable.
53
+
54
+
To specify the passwords, add an environment variable for each one, like this:
55
+
-`name` is `PASSWORD_01`, and the `value` is `password01`
56
+
-`name` is `PASSWORD_02`, and the `value` is `password02`
57
+
58
+
Please make sure your prototype kit is version **13.15.0** or later to allow this functionality to work.
0 commit comments