Skip to content

RFC: support loading tokens from files #241

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

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

tomeon
Copy link

@tomeon tomeon commented May 4, 2025

Hello! Happy user of Colmena here, transitioning from the great-but-seemingly-unmaintained spongix to Attic.

This PR introduces:

  1. Support in atticd for loading tokens directly from files rather than specifying them in the environment or in an environment file (I am at best a larval Rustacean, so this is more in the way of a demo than for-real implementation).
  2. Options in services.atticd that use the support for loading tokens from files in order to integrate with systemd's credentials management support.
  3. Integration test cases covering this functionality.

This PR also extends the packages.<system>.book output with documentation of the services.atticd module's options.

Thanks in advance for your consideration!

tomeon added 5 commits May 4, 2025 16:24
via `*-file` variants of the various `token-*` settings in `jwt.signing`
and `*_FILE` variants of the corresponding environment variables.
mainly intended for loading tokens from files.
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