You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by el...@apache.org on 2021/12/22 12:25:16 UTC

[airflow] branch main updated: Update hashicorp-vault.rst (#20348)

This is an automated email from the ASF dual-hosted git repository.

eladkal pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/airflow.git


The following commit(s) were added to refs/heads/main by this push:
     new 5516c14  Update hashicorp-vault.rst (#20348)
5516c14 is described below

commit 5516c14951e41aa5852df7358df6284f549111cc
Author: abiwill <ab...@gmail.com>
AuthorDate: Wed Dec 22 17:54:31 2021 +0530

    Update hashicorp-vault.rst (#20348)
    
    * Update hashicorp-vault.rst
    
    Co-authored-by: eladkal <45...@users.noreply.github.com>
---
 .../secrets-backends/hashicorp-vault.rst                         | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/docs/apache-airflow-providers-hashicorp/secrets-backends/hashicorp-vault.rst b/docs/apache-airflow-providers-hashicorp/secrets-backends/hashicorp-vault.rst
index ffd40fe..6bf484f 100644
--- a/docs/apache-airflow-providers-hashicorp/secrets-backends/hashicorp-vault.rst
+++ b/docs/apache-airflow-providers-hashicorp/secrets-backends/hashicorp-vault.rst
@@ -205,3 +205,12 @@ Then you can use above secret for ``sql_alchemy_conn_secret`` in your configurat
 
 Note that the secret ``Key`` is ``value``, and secret ``Value`` is ``postgres://user:pass@host:5432/db?ssl_mode=disable`` and
 ``mount_point`` is ``airflow``.
+
+## For Vault running with self signed certificates
+Add "verify": "absolute path to ca-certificate file"
+
+.. code-block:: ini
+
+    [secrets]
+    backend = airflow.providers.hashicorp.secrets.vault.VaultBackend
+    backend_kwargs = {"connections_path": "airflow-connections", "variables_path": null, "mount_point": "airflow", "url": "http://127.0.0.1:8200", "verify": "/etc/ssl/certs/ca-certificates"}