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 reading secrets from a separate config file #487

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

squalus
Copy link
Contributor

@squalus squalus commented Jul 30, 2022

Users can specify a new overlay config file. This file can contain secrets. The file is specified in two ways:

Allow reading OauthClientId and OauthClientSecret from systemd LoadCredential directives.

  • VOUCH_SECRETS_FILE env var: path of the overlay config file
  • CREDENTIALS_DIRECTORY env var that contains a file called VOUCH_SECRETS_FILE. This can be used with the systemd LoadCredential directive.

Tested using both hardcoded secrets and LoadCredential files.

@squalus
Copy link
Contributor Author

squalus commented Jul 31, 2022

Added issue, changelog entry, and unit test

Users can specify a new overlay config file. This file can contain
secrets. The file is specified in two ways:

- VOUCH_SECRETS_FILE env var: path of the overlay config file

- CREDENTIALS_DIRECTORY env var that contains a file called
  VOUCH_SECRETS_FILE. This can be used with systemd LoadCredential.
@squalus squalus changed the title Support reading secrets from systemd credentials Support reading secrets from a separate config file Aug 7, 2022
@squalus
Copy link
Contributor Author

squalus commented Aug 7, 2022

Updated based on the discussion in #491

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 this pull request may close these issues.

1 participant