0.1.15 use passkey for addition core - periphery auth layer

This commit is contained in:
mbecker20
2023-02-17 18:29:13 +00:00
parent 69ce1e4f36
commit ae5f36fe51
14 changed files with 133 additions and 104 deletions

View File

@@ -22,6 +22,9 @@ slack_url = "your_slack_app_webhook_url"
# token that has to be given to github during webhook config as the Secret
github_webhook_secret = "your_random_webhook_secret"
# token used to authenticate core requests to periphery
passkey = "your_random_passkey"
# can be 30-sec, 1-min, 2-min, 5-min
monitoring_interval = "1-min"

View File

@@ -2,6 +2,7 @@ port = 8000 # optional. 8000 is default
repo_dir = "/repos" # optional. /repos is default. no reason to change if running the docker container, just mount your desired repo dir to /repos in the container
stats_polling_rate = "5-sec" # optional. 5-sec is default. can use 1-sec, 5-sec, 10-sec, 30-sec, 1-min. controls granularity of system stats recorded
allowed_ips = ["127.0.0.1"] # optional. default is empty, which will not block any request by ip.
passkeys = ["abcdefghijk"] # optional. default is empty, which will not require any passkey to be passed by core.
[secrets] # optional. can inject these values into your deployments configuration.
secret_variable = "secret_value"