Restricting access - AWS Amplify

Restricting access

Note

Currently, Amplify doesn't support access control for Next.js apps that use server-side rendering (SSR). If you are working with an SSR app in the Amplify console, Access control isn't available in the App settings menu in the navigation pane.

If you are working on unreleased features you can password protect feature branches that are not ready to be accessed publicly.


         Video graphic of password protected sign in.

To set passwords on feature branches

  1. Sign in to the AWS Management Console and open the Amplify Console.

  2. Choose the app you want to set feature branch passwords on.

  3. In the navigation pane, choose App settings, and then choose Access control.

  4. In the Access control settings section, choose Manage access.

    
               Screenshot of the Access control settings section listing the branches
                  connected to the app.
  5. Do one of the following in Access control settings:

    • To set a username and password that applies to all connected branches, turn on Apply a global password. For example, if you have main, dev, and feature branches connected, you can use a global password to set the same username and password for all branches.

    • To apply a username and password to an individual branch, turn off Apply a global password. For the branch that you want to enter a unique username and password for, choose Restricted-password required for Access setting and enter a username and password.

    
               Screenshot of the Branch access section showing the options for applying
                  passwords globally or per branch.