machine auth config docs

This commit is contained in:
Willy Kloucek
2022-05-03 15:12:34 +02:00
parent b35178584b
commit f643de22c4
4 changed files with 6 additions and 17 deletions
@@ -38,7 +38,7 @@ func Validate(cfg *config.Config) error {
return shared.MissingJWTTokenError(cfg.Service.Name)
}
if cfg.AuthProviders.Machine.APIKey == "" {
if cfg.MachineAuthAPIKey == "" {
return shared.MissingMachineAuthApiKeyError(cfg.Service.Name)
}
return nil