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

Provide apikey through environment variable, rather than config.json? #211

Open
nocturne1 opened this issue Dec 29, 2024 · 0 comments
Open

Comments

@nocturne1
Copy link

Is your feature request related to a problem? Please describe.
I am hoping to deploy my configuration through gitops methods in Portainer. Since the deployment files would be in an external repo, including the config.json to allow settings changes without access to the host. But currently, this means apikey is also defined there in plain text. I have tried removing from the config.json and setting via an environment variable, but it's not seen by the script.

Describe the solution you'd like
Allow apikey to be pulled in via environment variables. Supporting all config items via environment variables would be even better.

Describe alternatives you've considered
Editing manually on host, but this does not allow "source of truth" to be in git repo.

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

No branches or pull requests

1 participant