sdk
sdk copied to clipboard
Config file observations
Hello PB team, Quick suggestion. I think it would be much nicer if you could pass the secret upon initializing the library or make it an env variable.
Motivations:
- Dealing with updating config file secrets in a Dockerfile after loading a vault like Hashicorp or dotenv is clunky
- Variable leaks into the the docker image config file
- You cannot commit the config file with the secret. You would have to commit an example config file to avoid devs accidentally comitting the secret. One more thing people have to configure etc.