Amplify-console: [Feature request] Support default password protection for all new branches

Created on 29 Nov 2019  路  5Comments  路  Source: aws-amplify/amplify-console

Is your feature request related to a problem? Please describe.
When using amplify preview to deploy code on each pr, it creates a url that is not password protected by default. The only way is to go to access control and add it manually each time.

Describe the solution you'd like
In access control settings, I would like to be able to set a default password for all new / existing branches, except for those I explicitly exclude (namely, the production branch)

feature request

Most helpful comment

Weirdly the AWS Amplify documentation seems to say that this is possible: https://docs.aws.amazon.com/amplify/latest/userguide/access-control.html

To exclude branches from a global password, turn on Apply a global password, and then choose Publicly viewable for Access setting for any branch that you want to exclude.

But all the branch specific inputs are disabled when setting a global password so this is not achievable.

All 5 comments

@thedgbrt currently there isn't an easy way to do so. A workaround would be to have 2 Amplify Console apps connected to the same repo - first app is your production app. 2nd app has all your other branches and you can set a global password for all the connected branches.

@thedgbrt Have you tried global password protection in access control?

image

@ganipcanot the problem is I don鈥檛 want my production branch to be password protected. It鈥檚 missing a feature where I can exclude it from the global setting.

Exactly the same use case is required.

Weirdly the AWS Amplify documentation seems to say that this is possible: https://docs.aws.amazon.com/amplify/latest/userguide/access-control.html

To exclude branches from a global password, turn on Apply a global password, and then choose Publicly viewable for Access setting for any branch that you want to exclude.

But all the branch specific inputs are disabled when setting a global password so this is not achievable.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ericclemmons picture ericclemmons  路  5Comments

kontrol-debug picture kontrol-debug  路  4Comments

ckamps picture ckamps  路  3Comments

lucaluke88 picture lucaluke88  路  4Comments

nomiddlename picture nomiddlename  路  4Comments