You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by fe...@apache.org on 2024/06/17 22:51:07 UTC
(airflow) branch main updated: doc: add datadog connection json structure. (#40198)
This is an automated email from the ASF dual-hosted git repository.
ferruzzi 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 86190aaa4a doc: add datadog connection json structure. (#40198)
86190aaa4a is described below
commit 86190aaa4a6601e86ba067ad4325e9fea7923511
Author: Gabe Schenz <ga...@sche.nz>
AuthorDate: Mon Jun 17 17:51:00 2024 -0500
doc: add datadog connection json structure. (#40198)
---
.../connections/datadog.rst | 22 ++++++++++++++++++++++
1 file changed, 22 insertions(+)
diff --git a/docs/apache-airflow-providers-datadog/connections/datadog.rst b/docs/apache-airflow-providers-datadog/connections/datadog.rst
index dccc1caf68..b56ad1f82b 100644
--- a/docs/apache-airflow-providers-datadog/connections/datadog.rst
+++ b/docs/apache-airflow-providers-datadog/connections/datadog.rst
@@ -44,3 +44,25 @@ Extra
``app_key``: Datadog `application key <https://docs.datadoghq.com/account_management/api-app-keys/#application-keys>`__
``source_type_name``: Datadog `source type name <https://docs.datadoghq.com/integrations/faq/list-of-api-source-attribute-value/>`__ (defaults to my_apps).
+
+
+Secret Management
+-----------------
+
+When storing the connection details in a secret management system, it can be convenient to name the secret with the default value::
+
+ secret name: airflow/connections/datadog_default
+
+The following json is an example of what the secret contents should look like::
+
+ {
+ "conn_type": "datadog",
+ "description": "Datadog connection for my app",
+ "extra": {
+ "api_host": "https://api.datadoghq.com",
+ "api_key": "my api key",
+ "app_key": "my app key",
+ "source_type_name": "apache"
+ },
+ "host": "environment-region-application.domain.com"
+ }