Better handle auth enabling

This commit is contained in:
2019-07-07 00:15:05 -04:00
parent 4724f79877
commit 425392f2e6
2 changed files with 21 additions and 9 deletions

View File

@ -19,10 +19,12 @@ pvc:
listen_address: "127.0.0.1"
# listen_port: TCP port to listen on, usually 7370
listen_port: "7370"
# secret_key: Per-cluster secret key for API cookies; generate with uuidgen or pwgen
secret_key: ""
# authentication: Authentication and security settings
authentication:
# enabled: Enable or disable authentication (True/False)
enabled: False
# secret_key: Per-cluster secret key for API cookies; generate with uuidgen or pwgen
secret_key: ""
# tokens: a list of authentication tokens; leave as an empty list to disable authentication
tokens:
# description: token description for management
@ -31,7 +33,7 @@ pvc:
token: ""
# ssl: SSL configuration
ssl:
# Enabled or disable SSL operation
# enabled: Enabled or disable SSL operation (True/False)
enabled: False
# cert_file: SSL certificate file
cert_file: ""