Skip to content

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 force-pushed the systemd-credential branch from 6c56d7d to 2575e30 Compare August 7, 2022 23:29
@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