Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support password protected demos on Cloud Run #15604

Open
Tracked by #15578
stevejalim opened this issue Nov 29, 2024 · 1 comment
Open
Tracked by #15578

Support password protected demos on Cloud Run #15604

stevejalim opened this issue Nov 29, 2024 · 1 comment

Comments

@stevejalim
Copy link
Collaborator

stevejalim commented Nov 29, 2024

At the moment, to support password-protected demos, we need to use our Heroku instances, because:

  • developers have to set BASIC_AUTH_CREDS="username:password" as an env var, but because those need to be committed to get them only Cloud Run, it's not viable to commit them to the public repo
  • Secrets are shared across all Cloud Run demo services, so if set BASIC_AUTH_CREDS in Secrets, they'd apply to all demos

So, obvs, we need a solution - and one that ideally is very light touch

@stevejalim
Copy link
Collaborator Author

One option might be to stably generate random-but-readable passwords using the branch name as a seed then log them out to the private logs for a developer to pick up and share as needed. The credentials would be different per branch name, but not change with each commit to that branch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant