You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Like many others, I store my dotfiles on Github. "slack-term.json" cannot be backed up to version control because it MUST contain a valid "slack_token" (which I do not want the world to see).
In order to solve the problem, we would need to configure the parameter "slack_token", and any other potentially security-related parameters, with:
Environment variables
Command line arguments on startup
A separate configuration file that gets merged with the one I store in version control
Options 1 and 2 seem most-promising; maybe both? It looks like config/config.go would need to be updated to handle checks for both the file itself and the existence of the variable in another location.
Please let me know if you'd like my assistance, or if you'd prefer considering this design yourself. Thanks again for building this project and continuing to maintain it!
The text was updated successfully, but these errors were encountered:
Like many others, I store my dotfiles on Github. "slack-term.json" cannot be backed up to version control because it MUST contain a valid "slack_token" (which I do not want the world to see).
In order to solve the problem, we would need to configure the parameter "slack_token", and any other potentially security-related parameters, with:
Options 1 and 2 seem most-promising; maybe both? It looks like config/config.go would need to be updated to handle checks for both the file itself and the existence of the variable in another location.
For reference: http://www.catb.org/esr/writings/taoup/html/ch10s06.html
Please let me know if you'd like my assistance, or if you'd prefer considering this design yourself. Thanks again for building this project and continuing to maintain it!
The text was updated successfully, but these errors were encountered: