blob: 09874768a5ad791b9672a3242ed8d8a3f1255f21 [file] [log] [blame]
:mod:`airflow.secrets.environment_variables`
============================================
.. py:module:: airflow.secrets.environment_variables
.. autoapi-nested-parse::
Objects relating to sourcing connections from environment variables
Module Contents
---------------
.. data:: CONN_ENV_PREFIX
:annotation: = AIRFLOW_CONN_
.. data:: VAR_ENV_PREFIX
:annotation: = AIRFLOW_VAR_
.. py:class:: EnvironmentVariablesBackend
Bases: :class:`airflow.secrets.BaseSecretsBackend`
Retrieves Connection object from environment variable.
.. method:: get_conn_uri(self, conn_id)
.. method:: get_variable(self, key)
Get Airflow Variable from Environment Variable
:param key: Variable Key
:return: Variable Value