You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by po...@apache.org on 2020/08/09 10:24:43 UTC
[airflow] branch master updated: Improve guide about Google Cloud
Secret Manager Backend (#10257)
This is an automated email from the ASF dual-hosted git repository.
potiuk pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/airflow.git
The following commit(s) were added to refs/heads/master by this push:
new 55021b7 Improve guide about Google Cloud Secret Manager Backend (#10257)
55021b7 is described below
commit 55021b771d384b0dd90792962ea869e1bd8a40a0
Author: Kamil BreguĊa <mi...@users.noreply.github.com>
AuthorDate: Sun Aug 9 12:24:11 2020 +0200
Improve guide about Google Cloud Secret Manager Backend (#10257)
---
.../secrets-backend/google-cloud-secret-manager-backend.rst | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/docs/howto/secrets-backend/google-cloud-secret-manager-backend.rst b/docs/howto/secrets-backend/google-cloud-secret-manager-backend.rst
index 34454b2..f80cc7f 100644
--- a/docs/howto/secrets-backend/google-cloud-secret-manager-backend.rst
+++ b/docs/howto/secrets-backend/google-cloud-secret-manager-backend.rst
@@ -26,7 +26,15 @@ a secret backend and how to manage secrets.
Before you begin
""""""""""""""""
-`Configure Secret Manager and your local environment <https://cloud.google.com/secret-manager/docs/configuring-secret-manager>`__, once per project.
+Before you start, make sure you have performed the following tasks:
+
+1. Include sendgrid subpackage as part of your Airflow installation
+
+ .. code-block:: bash
+
+ pip install apache-airflow[google]
+
+2. `Configure Secret Manager and your local environment <https://cloud.google.com/secret-manager/docs/configuring-secret-manager>`__, once per project.
Enabling the secret backend
"""""""""""""""""""""""""""
@@ -50,7 +58,7 @@ You can also set this with environment variables.
You can verify the correct setting of the configuration options with the ``airflow config get-value`` command.
-.. code-block:: bash
+.. code-block:: console
$ airflow config get-value secrets backend
airflow.providers.google.cloud.secrets.secret_manager.CloudSecretManagerBackend