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 dynamic reloading of credentials config file #1553

Open
jtackaberry opened this issue Jan 2, 2024 · 0 comments
Open

Support dynamic reloading of credentials config file #1553

jtackaberry opened this issue Jan 2, 2024 · 0 comments

Comments

@jtackaberry
Copy link
Contributor

User management, especially password rotation, is a common operational activity. Currently the credentials config file is only read once at startup, which means rotating a password requires a rolling restart of the cluster.

This FR is a minor quality-of-life improvement to support dynamic reloading of the user credentials config file and handle password changes, user additions, removals, and permissions changes.

This could be done using fsnotify, which would be fairly robust but requires sourcing a new dependency, or by simply using os.Stat() and polling for mtime changes every few seconds. Regardless of the method, the implementation should tolerate the path provided to rqlited being a symlink, and follow the symlink in detecting changes.

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