Skip to content

Commit 36dd538

Browse files
Merge branch 'main' into make-sure-prototypes-are-created-with-latest-version
2 parents 0cf0c0e + 19f8ef3 commit 36dd538

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

docs/v13/documentation/publishing.md

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,3 +38,21 @@ To set a password, you need to add 2 environment variables where the:
3838
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.
3939

4040
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

Comments
 (0)