Password protection
Team and Enterprise feature
This feature is available only for the Team and Enterprise plans. To get started, reach out to support@buildwithfern.com.
Protect your published documentation site with a shared password directly from the Fern Dashboard. When enabled, visitors must enter the password before they can view any content. You can also set up multiple passwords for use with RBAC.
Password-protected sites aren’t indexed by search engines.
You can alternatively authenticate users using SSO, JWT, or OAuth. See Authentication overview for details.
Enable password protection
Open the Dashboard
Navigate to the Fern Dashboard and select the documentation site you want to protect.
Go to Settings
Open the Settings page for your docs site. You’ll see a Password card at the top of the page.
Set password(s)
Enter a single password for your entire set, or select Add roles to add multiple passwords that are each mapped to a user role you define. You can add a maximum of three user roles. Click Save to activate password protection.
Once enabled, the card displays the current password(s) along with when and by whom they were last updated.
Configure RBAC (optional)
If you set up multiple passwords with different user roles, configure role-based access control (RBAC) in docs.yml to restrict pages and sections of your site by role.
Manage password protection
In the same dialog, you can Reset the password(s), or Remove the password(s) to make your site publicly accessible.
All members can view the current password(s). Only Admins can set, reset, or remove a password.