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

Configurable .htpasswd Location #187

Closed
dwmunster opened this issue Mar 25, 2022 · 1 comment · Fixed by #188
Closed

Configurable .htpasswd Location #187

dwmunster opened this issue Mar 25, 2022 · 1 comment · Fixed by #188

Comments

@dwmunster
Copy link
Contributor

Output of rest-server --version

0.11.0

What should rest-server do differently?

I would like to be able to configure the location of the .htpasswd file used for HTTP Basic authentication.

What are you trying to do? What is your use case?

I am looking to run rest-server in Kubernetes. In particular, I would like to use secrets to manage the contents of the .htpasswd file. While the contents of secrets can easily be mounted/projected into containers, it is more difficult to do so on top of another volume, such as the one needed to persist the restic repositories. By allowing the path of that file to be configurable, the secret could be mounted elsewhere and better integrated with Kubernetes secret management.

I would be glad to submit a PR implementing this feature if there is interest.

@rawtaz
Copy link
Contributor

rawtaz commented Mar 25, 2022

I think this makes sense, and would welcome a PR to base the discussion off!

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

Successfully merging a pull request may close this issue.

2 participants