You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2020/05/08 18:59:25 UTC
[GitHub] [incubator-superset] dpgaspar commented on a change in pull request #9767: [docs] Add SSL config options for postgres
dpgaspar commented on a change in pull request #9767:
URL: https://github.com/apache/incubator-superset/pull/9767#discussion_r422315291
##########
File path: docs/installation.rst
##########
@@ -424,8 +562,36 @@ The connection string for PostgreSQL looks like this ::
postgresql+psycopg2://{username}:{password}@{host}:{port}/{database}
-See `psycopg2 SQLAlchemy <https://docs.sqlalchemy.org/en/13/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.psycopg2>`_.
+Additional may be configured via the ``extra`` field under ``engine_params``.
+If you would like to enable mutual SSL here is a sample configuration: ::
+
Review comment:
`.. code-block:: json`
##########
File path: docs/installation.rst
##########
@@ -424,8 +562,36 @@ The connection string for PostgreSQL looks like this ::
postgresql+psycopg2://{username}:{password}@{host}:{port}/{database}
-See `psycopg2 SQLAlchemy <https://docs.sqlalchemy.org/en/13/dialects/postgresql.html#module-sqlalchemy.dialects.postgresql.psycopg2>`_.
+Additional may be configured via the ``extra`` field under ``engine_params``.
+If you would like to enable mutual SSL here is a sample configuration: ::
+
+ {
+ "metadata_params": {},
+ "engine_params": {
+ "connect_args":{
+ "sslmode": "require",
+ "sslrootcert": "/path/to/root_cert"
+ }
+ }
+ }
+
+If the key ``sslrootcert`` is present the server's certificate will be verified to be signed by the same Certificate Authority (CA).
+If you would like to enable mutual SSL here is a sample configuration: ::
+
Review comment:
.. code-block:: json
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org