Configuration File¶
Notary is configured using a YAML file.
Start Notary with the --config
flag to specify the path to the configuration file.
Parameters¶
key_path
(string): Path to the private key for enabling HTTPS connections.cert_path
(string): Path to a PEM formatted certificate for enabling HTTPS connections.db_path
(string): Path to where the sqlite database should be stored. If the file does not exist Notary will attempt to create it.port
(integer): Port number on which Notary will listen for all incoming API and frontend connections.pebble_notifications
(boolean): Allow Notary to send pebble notices on certificate events (create, update, delete). Pebble needs to be running on the same system as Notary.
Example¶
key_path: "/etc/notary/config/key.pem"
cert_path: "/etc/notary/config/cert.pem"
db_path: "/var/lib/notary/database/notary.db"
port: 3000
pebble_notifications: true