diff options
author | Krasimir Angelov <kangelov@gitlab.com> | 2019-11-27 06:04:09 +0300 |
---|---|---|
committer | Krasimir Angelov <kangelov@gitlab.com> | 2019-11-27 06:04:09 +0300 |
commit | d7483484c73f7516d2721398cee9b13601dbad3c (patch) | |
tree | 95c2dce44181baf5e450b384fa3bd022538be8bc /app_config.go | |
parent | 9c69ac5306545be017701dfff7afe25c8b814c3f (diff) |
Read the context of api-secret-key file and store it in app config
as GitLabAPISecretKey
Diffstat (limited to 'app_config.go')
-rw-r--r-- | app_config.go | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/app_config.go b/app_config.go index b870626d..f9be6545 100644 --- a/app_config.go +++ b/app_config.go @@ -25,12 +25,13 @@ type appConfig struct { LogFormat string LogVerbose bool - StoreSecret string - GitLabServer string - ClientID string - ClientSecret string - RedirectURI string - SentryDSN string - SentryEnvironment string - CustomHeaders []string + StoreSecret string + GitLabServer string + GitLabAPISecretKey []byte + ClientID string + ClientSecret string + RedirectURI string + SentryDSN string + SentryEnvironment string + CustomHeaders []string } |