diff --git a/airflow/config_templates/config.yml b/airflow/config_templates/config.yml index 5033c342e503d9..57509015d15693 100644 --- a/airflow/config_templates/config.yml +++ b/airflow/config_templates/config.yml @@ -511,16 +511,17 @@ - name: backend description: | Full class name of secrets backend to enable (will precede env vars and metastore in search path) - version_added: ~ + version_added: 1.10.10 type: string - example: ~ + example: "airflow.providers.amazon.aws.secrets.systems_manager.SystemsManagerParameterStoreBackend" default: "" - name: backend_kwargs description: | The backend_kwargs param is loaded into a dictionary and passed to __init__ of secrets backend class. See documentation for the secrets backend you are using. JSON is expected. - Example for AWS SSM: {{"prefix": "/airflow", "profile_name": "my_aws_profile"}} - version_added: ~ + Example for AWS Systems Manager ParameterStore: + ``{{"connections_prefix": "/airflow/connections", "profile_name": "default"}}`` + version_added: 1.10.10 type: string example: ~ default: "" diff --git a/airflow/config_templates/default_airflow.cfg b/airflow/config_templates/default_airflow.cfg index dfd779056fffe8..581cd1e927b499 100644 --- a/airflow/config_templates/default_airflow.cfg +++ b/airflow/config_templates/default_airflow.cfg @@ -275,11 +275,13 @@ task_log_reader = task [secrets] # Full class name of secrets backend to enable (will precede env vars and metastore in search path) +# Example: backend = airflow.providers.amazon.aws.secrets.systems_manager.SystemsManagerParameterStoreBackend backend = # The backend_kwargs param is loaded into a dictionary and passed to __init__ of secrets backend class. # See documentation for the secrets backend you are using. JSON is expected. -# Example for AWS SSM: {{"prefix": "/airflow", "profile_name": "my_aws_profile"}} +# Example for AWS Systems Manager ParameterStore: +# ``{{"connections_prefix": "/airflow/connections", "profile_name": "default"}}`` backend_kwargs = [cli]