Skip to content

Support environment variables in config #1156

@jhogendorn

Description

@jhogendorn

💡 Support environment variables in config

The configuration file is in essence a list of apprise uri's, which include secrets. I have dug through the docs a fair bit so forgive me if this is already possible, but it would be good if we could specify environment variables in the config for the secrets. Alternatively a way of specifying yaml variables or other interpolation so that a file can be built on demand and included that includes the secrets.

Theres envsubst as an approach but internal tool support would be good.

Another common approach is to have secrets in individual files, this would be more complicated to natively support.

ie

urls:
  - schema://$ACCESS_KEY/$ACCESS_SECRET/foo/bar/baz

🔨 Breaking Feature

This wouldnt break anything in terms of compatibility.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions