Configure password-protected environments¶
Uffizzi allows you to configure a username and password for your test environments to limit who has access to them. This feature is enabled per project, so anyone navigating to the URL of any environment of that project, either via a web browser or with a command like
curl, must enter valid credentials to gain access. To configure this feature, you must be an account Admin:
- Navigate to your project, then select Project Settings > Password protection > EDIT > Password protection (toggle).
- Enter a username and password, then select SAVE.
Password protection will now be enabled for all environments belonging to this project, including any pre-existing environments.
If you enable password protection and are using the GitHub Actions reusable workflow, as described in the Getting started guide, you must pass
url-password as parameters to the reusable workflow, otherwise the deployment confirmation step will fail. You can find an example GitHub Actions job here.