diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2025-01-10 14:41:50 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2025-01-15 14:21:05 +0200 |
commit | 4de6640c0d61a3c36a606eac01a8c2df8e212b03 (patch) | |
tree | f3f19cce83a8b94985fb0474217b36fb0b6e4b65 /mod/module.cli | |
parent | 2baa14d5e07095a5ce2d82f60806e34c20c4aa71 (diff) |
ci-github: Store webhook secret in a file
Keep secrets out of the configuration file for the sake of security.
Diffstat (limited to 'mod/module.cli')
-rw-r--r-- | mod/module.cli | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/module.cli b/mod/module.cli index 1273bf4..ba2b986 100644 --- a/mod/module.cli +++ b/mod/module.cli @@ -850,12 +850,12 @@ namespace brep // GitHub CI-specific options. // - string ci-github-app-webhook-secret + path ci-github-app-webhook-secret { - "<secret>", + "<path>", "The GitHub App's configured webhook secret. If not set, then the - GitHub CI service is disabled. Note: make sure to choose a strong - (random) secret." + GitHub CI service is disabled. Note that the path must be absolute. + Note: make sure to choose a strong (random) secret." } std::map<string, dir_path> ci-github-app-id-private-key @@ -863,7 +863,7 @@ namespace brep "<id>=<path>", "The private key used during GitHub API authentication for the specified GitHub App ID. Both vales are found in the GitHub App's - settings." + settings. Note that the paths must be absolute." } uint16_t ci-github-jwt-validity-period = 600 |