Skip to content
This repository was archived by the owner on Feb 20, 2026. It is now read-only.

feat(database/influx): add parameter for a password_file - #252

Open
herbetom wants to merge 2 commits into
FreifunkBremen:mainfrom
herbetom:credential_files
Open

feat(database/influx): add parameter for a password_file#252
herbetom wants to merge 2 commits into
FreifunkBremen:mainfrom
herbetom:credential_files

Conversation

@herbetom

@herbetom herbetom commented Oct 26, 2025

Copy link
Copy Markdown
Contributor

Description

Allow providing the influx password via a password file and make providing a username and password optional.

alternative to #244

Motivation and Context

This change allows seperating critical information so that it can be managed via other means then the regular config.

The field also supports enviroment variables. Quite useful if you want to use systemd credentials.

Checklist:

  • My code follows the code style of this project.
  • I have added also tests for my new code.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.

There isn't really a need to force users to set them to an empty string if they don't require auth.
@herbetom
herbetom force-pushed the credential_files branch 3 times, most recently from 0617c4a to 6775245 Compare October 26, 2025 08:40
@herbetom
herbetom marked this pull request as ready for review October 26, 2025 08:40
This is quite useful to seperate config and secrets.

Also supports enviroment variables. Quite useful if you want to use systemd credentials
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants