2019-07-06 02:24:28 -04:00
|
|
|
---
|
2019-07-06 01:48:45 -04:00
|
|
|
# pvc-api client configuration file example
|
|
|
|
#
|
|
|
|
# This configuration file specifies details for the PVC API client running on
|
|
|
|
# this machine. Default values are not supported; the values in this sample
|
|
|
|
# configuration are considered defaults and can be used as-is.
|
|
|
|
#
|
|
|
|
# Copy this example to /etc/pvc/pvc-api.conf and edit to your needs
|
|
|
|
|
|
|
|
pvc:
|
2019-07-06 02:35:37 -04:00
|
|
|
# coordinators: The list of cluster coordinator hostnames
|
|
|
|
coordinators:
|
|
|
|
- pvc-hv1
|
|
|
|
- pvc-hv2
|
|
|
|
- pvc-hv3
|
2019-07-06 01:48:45 -04:00
|
|
|
# api: Configuration of the API listener
|
|
|
|
api:
|
|
|
|
# listen_address: IP address(es) to listen on; use 0.0.0.0 for all interfaces
|
|
|
|
listen_address: "127.0.0.1"
|
|
|
|
# listen_port: TCP port to listen on, usually 7370
|
|
|
|
listen_port: "7370"
|
|
|
|
# authentication: Authentication and security settings
|
|
|
|
authentication:
|
2019-07-07 00:15:05 -04:00
|
|
|
# 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: ""
|
2019-07-07 00:08:02 -04:00
|
|
|
# tokens: a list of authentication tokens; leave as an empty list to disable authentication
|
|
|
|
tokens:
|
|
|
|
# description: token description for management
|
|
|
|
- description: "testing"
|
|
|
|
# token: random token for authentication; generate with uuidgen or pwgen
|
|
|
|
token: ""
|
2019-07-06 23:28:29 -04:00
|
|
|
# ssl: SSL configuration
|
|
|
|
ssl:
|
2019-07-07 00:15:05 -04:00
|
|
|
# enabled: Enabled or disable SSL operation (True/False)
|
2019-07-06 23:28:29 -04:00
|
|
|
enabled: False
|
|
|
|
# cert_file: SSL certificate file
|
|
|
|
cert_file: ""
|
|
|
|
# key_file: SSL certificate key file
|
|
|
|
key_file: ""
|