airflow.secrets.base_secrets
¶
Module Contents¶
-
class
airflow.secrets.base_secrets.
BaseSecretsBackend
(**kwargs)[source]¶ Abstract base class to retrieve secrets given a conn_id and construct a Connection object
-
static
build_path
(path_prefix, secret_id, sep='/')[source]¶ Given conn_id, build path for Secrets Backend
-
get_conn_uri
(self, conn_id)[source]¶ Get conn_uri from Secrets Backend
- Parameters
conn_id (str) – connection id
-
get_connections
(self, conn_id)[source]¶ Get connections with a specific ID
- Parameters
conn_id (str) – connection id
-
static