diff options
author | Francois Kritzinger <francois@codesynthesis.com> | 2025-01-10 14:41:50 +0200 |
---|---|---|
committer | Francois Kritzinger <francois@codesynthesis.com> | 2025-01-10 16:06:32 +0200 |
commit | 31a8c9b8009acdeecfb26202a597fb5091369c28 (patch) | |
tree | 13b391eb104f7bdf85b7ea16b120c64f21bb22c5 /mod/module.cli | |
parent | a526c1bc524d2cdf4e44d18f25047280688a6fae (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 |