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

Add security #4

Open
sverhoeven opened this issue Apr 29, 2024 · 0 comments
Open

Add security #4

sverhoeven opened this issue Apr 29, 2024 · 0 comments

Comments

@sverhoeven
Copy link
Member

By default communication is done over http without any authentication and authorization. This ok-ish for running locally where you trust the users on the system.

It would be nice if the web service could run on https with either self-signed certs or signed by trusted certificate authority like Let's encrypt.

To make sure the server can trust the client and vice versa we could use a shared secret like an API key or JWT.
See https://spec.openapis.org/oas/latest.html#security-scheme-object
The shared secret could be passed to the server using an environment variable.

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