airflow.contrib.secrets.aws_systems_manager¶
Objects relating to sourcing connections from AWS SSM Parameter Store
Module Contents¶
- 
class airflow.contrib.secrets.aws_systems_manager.SystemsManagerParameterStoreBackend(connections_prefix='/airflow/connections', variables_prefix='/airflow/variables', profile_name=None, **kwargs)[source]¶
- Bases: - airflow.secrets.BaseSecretsBackend,- airflow.utils.log.logging_mixin.LoggingMixin- Retrieves Connection or Variables from AWS SSM Parameter Store - Configurable via - airflow.cfglike so:- [secrets] backend = airflow.contrib.secrets.aws_systems_manager.SystemsManagerParameterStoreBackend backend_kwargs = {"connections_prefix": "/airflow/connections", "profile_name": null} - For example, if ssm path is - /airflow/connections/smtp_default, this would be accessible if you provide- {"connections_prefix": "/airflow/connections"}and request conn_id- smtp_default. And if ssm path is- /airflow/variables/hello, this would be accessible if you provide- {"variables_prefix": "/airflow/variables"}and request conn_id- hello.- Parameters