-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
boardwalkd (enh/security): Enable click generation of envvars for opt…
…ions (#70) * boardwalkd (enh/security): Enable click generation of envvars for options Specifies context settings for the Click cli.command() for `serve` in boardwalkd, so that any click.options have environment variables automatically created and checked for values, using the `BOARDWALKD` prefix. Tagged as security-related as the key driving factor behind this change was to enable use of the `--slack-webhook-url` and `--slack-error-webhook-url` from envvars, because the webhooks URLs are considered secret, and consequently they should not be passed on the command line where they can wind up in the shell history. Resolves #69. Resolves Backblaze SVRENG-270. * Standardize envvar naming for boardwalkd to use the BOARDWALKD_ prefix Updates the BOARDWALK_SECRET, BOARDWALK_GOOGLE_OAUTH_CLIENT_ID, and BOARDWALK_GOOGLE_OAUTH_SECRET to use BOARDWALKD_ as the prefix instead of the prior BOARDWALK_, as we now use click's auto envvar prefix feature with BOARDWALKD as the prefix.
- Loading branch information
1 parent
e8054f5
commit 6c1352a
Showing
4 changed files
with
13 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters