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 age identity from file #623

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

Conversation

aabccd021
Copy link

It's a common security practice to read secrets from file instead of specifying it directly on configuration file / environment variable (e.g. GOOGLE_APPLICATION_CREDENTIALS=/run/secrets/gcs_backup_service_secret).

This PR enables litestream to read age identity from file path via identity-files attribute.

dbs:
  - path: /var/lib/db
    replicas:
      - url: s3://mybkt.litestream.io/db
        age:
          identity-files:
            - /path/to/age-secret-key
          recipients:
            - age1xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

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