diff options
author | Valery Piashchynski <[email protected]> | 2022-09-28 17:56:25 +0200 |
---|---|---|
committer | Valery Piashchynski <[email protected]> | 2022-09-28 17:56:25 +0200 |
commit | a44d751e00f6eeaf7c3d8c374cfc976391f54c5d (patch) | |
tree | 3176786e9f1b825f2c16e6a183e7d56ff6f74939 /schemas | |
parent | 50e21af6ac21e0795d4802d3ade8d6b5dae26fa1 (diff) |
feat: add temporal tls configuration
Signed-off-by: Valery Piashchynski <[email protected]>
Diffstat (limited to 'schemas')
-rw-r--r-- | schemas/config/2.0.schema.json | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/schemas/config/2.0.schema.json b/schemas/config/2.0.schema.json index e03d4998..53cd7970 100644 --- a/schemas/config/2.0.schema.json +++ b/schemas/config/2.0.schema.json @@ -304,6 +304,44 @@ "description": "Activities pool settings", "type": "object", "$ref": "#/definitions/WorkersPool" + }, + "tls": { + "description": "Temporal TLS configuration", + "type": "object", + "properties": { + "key": { + "description": "Path to the key file", + "type": "string", + "default": null + }, + "cert": { + "description": "Path to the certificate", + "type": "string", + "default": null + }, + "root_ca": { + "description": "Path to the CA certificate", + "type": "string", + "default": null + }, + "client_auth_type": { + "description": "Client auth type", + "type": "string", + "default": "no_client_certs", + "enum": [ + "request_client_cert", + "require_any_client_cert", + "verify_client_cert_if_given", + "no_client_certs", + "require_and_verify_client_cert" + ] + }, + "server_name" :{ + "description": "ServerName is used to verify the hostname on the returned certificates unless InsecureSkipVerify is given. It is also included in the client's handshake to support virtual hosting unless it is an IP address.", + "type": "string", + "default": null + } + } } } }, |