Skip to content

Feature Request: document cat and credential template functions #738

@Skyb0rg007

Description

@Skyb0rg007

Currently one can define secrets in environment variables and use {{ getenv("MYSECRET") | js }} to interpolate the value.
Some environments, for example systemd credentials, encourage passing secrets in files.
I would like to use {{ readFile(getenv("CREDENTIALS_DIRECTORY") + "/mysecret") | js }} to interpolate the secret value into the configuration file.

Authelia has the secret template function which could give inspiration.

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions