From c704d6b2963e83a2ccd4c6e87d8c42e7f4f75c6b Mon Sep 17 00:00:00 2001 From: Hassan Khan Date: Mon, 8 Feb 2021 12:50:14 +0000 Subject: [PATCH] docs: specify `CUBEJS_DB_SSL_*` environment variables can be contents of PEM file --- docs/content/Configuration/Connecting-to-the-Database.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/content/Configuration/Connecting-to-the-Database.md b/docs/content/Configuration/Connecting-to-the-Database.md index a6901cecb44a..233e15288020 100644 --- a/docs/content/Configuration/Connecting-to-the-Database.md +++ b/docs/content/Configuration/Connecting-to-the-Database.md @@ -99,6 +99,13 @@ CUBEJS_DB_SSL_CERT=/ssl/cert.pem CUBEJS_DB_SSL_KEY=/ssl/key.pem ``` +You can also set the above environment variables to the contents of the +PEM certificates; for example: + +```dotenv +CUBEJS_DB_SSL_CERT = "-----BEGIN CERTIFICATE-----....." +``` + For a complete list of SSL-related environment variables, consult the [Database Connections section of the Environment Variables Reference][link-env-var-ref].