2018-11-15 04:09:57 +01:00
|
|
|
{
|
|
|
|
"server": {
|
|
|
|
"http_addr": ":4443"
|
|
|
|
},
|
|
|
|
"trust_service": {
|
|
|
|
"type": "remote",
|
|
|
|
"hostname": "notarysigner",
|
|
|
|
"port": "7899",
|
|
|
|
"tls_ca_file": "./notary-signer-ca.crt",
|
|
|
|
"key_algorithm": "ecdsa"
|
|
|
|
},
|
|
|
|
"logging": {
|
|
|
|
"level": "debug"
|
|
|
|
},
|
|
|
|
"storage": {
|
|
|
|
"backend": "postgres",
|
2019-05-10 04:44:05 +02:00
|
|
|
"db_url": "postgres://{{notary_server_db_username}}:{{notary_server_db_password}}@{{notary_server_db_host}}:{{notary_server_db_port}}/{{notary_server_db_name}}?sslmode={{notary_server_db_sslmode}}"
|
2018-11-15 04:09:57 +01:00
|
|
|
},
|
|
|
|
"auth": {
|
|
|
|
"type": "token",
|
|
|
|
"options": {
|
|
|
|
"realm": "{{token_endpoint}}/service/token",
|
|
|
|
"service": "harbor-notary",
|
|
|
|
"issuer": "harbor-token-issuer",
|
|
|
|
"rootcertbundle": "/etc/notary/root.crt"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|