auth: allow for world-readable deployment mode

This commit is contained in:
Ramkumar Chinchani
2019-08-28 14:05:16 -07:00
parent ae6651a919
commit 10199457b4
9 changed files with 340 additions and 36 deletions
+6 -5
View File
@@ -24,11 +24,12 @@ type AuthConfig struct {
}
type HTTPConfig struct {
Address string
Port string
TLS TLSConfig `mapstructure:",omitempty"`
Auth AuthConfig `mapstructure:",omitempty"`
Realm string
Address string
Port string
TLS TLSConfig `mapstructure:",omitempty"`
Auth AuthConfig `mapstructure:",omitempty"`
Realm string
AllowReadAccess bool `mapstructure:",omitempty"`
}
type LogConfig struct {