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

[secrets] The secret key needs to be shared between all instances #169

Open
frgfm opened this issue May 8, 2021 · 0 comments
Open

[secrets] The secret key needs to be shared between all instances #169

frgfm opened this issue May 8, 2021 · 0 comments
Labels
help wanted Extra attention is needed high priority topic: build Related to build, installation & CI
Milestone

Comments

@frgfm
Copy link
Member

frgfm commented May 8, 2021

Since our current secret key is generated randomly over here https://github.com/pyronear/pyro-api/blob/master/src/app/config.py#L27, if we were to scale our architecture we would get a problem. All scaled instances of the API need to share the same secret key.

cc @Thibault-Daccord

@frgfm frgfm added help wanted Extra attention is needed topic: build Related to build, installation & CI high priority labels May 8, 2021
@frgfm frgfm added this to the 0.1.3 milestone May 8, 2021
@frgfm frgfm modified the milestones: 0.1.3, 0.2.0 Jun 16, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed high priority topic: build Related to build, installation & CI
Projects
None yet
Development

No branches or pull requests

1 participant