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

Make application secrets more flexible #86

Closed
jakthom opened this issue Mar 6, 2022 · 2 comments
Closed

Make application secrets more flexible #86

jakthom opened this issue Mar 6, 2022 · 2 comments

Comments

@jakthom
Copy link
Contributor

jakthom commented Mar 6, 2022

Currently there's one way of providing secrets to honeypot - a file titled config.yml in the same directory as the binary. This is obviously non-ideal.

Options (probably all of them are ideal)

  1. Add env var specifying config file location override
  2. Add env-var-based config overrides: LEVEL1_LEVEL2_VARNAME
  3. Add default config.yml to the docker build
@jakthom
Copy link
Contributor Author

jakthom commented Mar 23, 2022

Added default config to docker build and env-var-based config file override. It's working well.

@jakthom
Copy link
Contributor Author

jakthom commented Mar 23, 2022

The second one is genius (thanks benthos), but will come back to implementing it later as asked.

@jakthom jakthom closed this as completed Mar 23, 2022
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