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

Use systemd-creds for managing secrets #417

Open
wants to merge 8 commits into
base: qa/1.x
Choose a base branch
from

Conversation

scollazo
Copy link
Contributor

@scollazo scollazo commented Dec 4, 2024

When archivematica_src_systemd_credentials is set to true this will:

  • Remove configuration secrets from the default environment vars
  • Properly encrypt secrets using systemd-creds
  • Configure services to load the secrets provided by systemd

The approach is based on https://systemd.io/CREDENTIALS/

Use same methods than for remote locations
 - Removes confidential env vars from environment file
 - Encrypts confidential vars using systemd-creds
 - Configure a override file for the encrypted credentials
 - Update ExecStart command to handle new secret vars

Based on https://systemd.io/CREDENTIALS/
Rely on archivematica_src_systemd_credentials to override or not
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