Skip to content
This repository has been archived by the owner on Jun 28, 2023. It is now read-only.

Feature request: load sensitive environment variables in yaml, or directly #363

Open
BentEngbers opened this issue Oct 13, 2021 · 0 comments

Comments

@BentEngbers
Copy link

Thanks for the awesome bot!

Is your feature request related to a problem? Please describe.

I would like to commit my config.yaml file used for go-neb to my repository. I cannot do this at the moment, because it will leak my matrix accessToken, DeviceID and my github access token.

Describe the solution you'd like
I would like to supply these critical pieces of information through the environment. Either to use a ${} or $() notation in the yaml file or directly using manditory environment variables.

Describe alternatives you've considered
I have considered using the api of go-neb bot without a configuration. there are two problems with that approach.

  1. I do not expect to change often, so a single config file is a lot easier/simpeler.
  2. I use the github integration feature. this requires me to have a public facing address for webhooks.
    Please correct me if I am wrong but the public facing port for the webhooks is the same as the admin port. I do not know how i would secure such a setup.
@BentEngbers BentEngbers changed the title load sensitive environment variables in yaml, or directly Feature request: load sensitive environment variables in yaml, or directly Oct 15, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant