This is an automated email from the ASF dual-hosted git repository.
husseinawala 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 996d8c5c93 Fix secrets backend docs (#33471)
996d8c5c93 is described below
commit 996d8c5c930e6e7f800c0c7a5c0b1ade7516c89f
Author: Aakcht <[email protected]>
AuthorDate: Thu Aug 17 23:53:24 2023 +0300
Fix secrets backend docs (#33471)
---
docs/apache-airflow/public-airflow-interface.rst | 4 ++--
docs/apache-airflow/security/secrets/secrets-backend/index.rst | 4 ++--
2 files changed, 4 insertions(+), 4 deletions(-)
diff --git a/docs/apache-airflow/public-airflow-interface.rst
b/docs/apache-airflow/public-airflow-interface.rst
index eebc893062..add533f4ed 100644
--- a/docs/apache-airflow/public-airflow-interface.rst
+++ b/docs/apache-airflow/public-airflow-interface.rst
@@ -327,8 +327,8 @@ Secrets Backends
----------------
Airflow can be configured to rely on secrets backends to retrieve
-:class:`~airflow.models.connection.Connection` and
:class:`~airflow.models.Variables`.
-All secrets backends derive from :class:`~airflow.secrets.BaseSecretsBackend`.
+:class:`~airflow.models.connection.Connection` and
:class:`~airflow.models.variable.Variable`.
+All secrets backends derive from
:class:`~airflow.secrets.base_secrets.BaseSecretsBackend`.
All Secrets Backend implementations are public. You can extend their
functionality:
diff --git a/docs/apache-airflow/security/secrets/secrets-backend/index.rst
b/docs/apache-airflow/security/secrets/secrets-backend/index.rst
index 76f50a0424..b91bef347d 100644
--- a/docs/apache-airflow/security/secrets/secrets-backend/index.rst
+++ b/docs/apache-airflow/security/secrets/secrets-backend/index.rst
@@ -100,8 +100,8 @@ capability of Apache Airflow. You can see all those
providers in
Roll your own secrets backend
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
-A secrets backend is a subclass of
:py:class:`airflow.secrets.BaseSecretsBackend` and must implement either
-:py:meth:`~airflow.secrets.BaseSecretsBackend.get_connection` or
:py:meth:`~airflow.secrets.BaseSecretsBackend.get_conn_value`.
+A secrets backend is a subclass of
:py:class:`airflow.secrets.base_secrets.BaseSecretsBackend` and must implement
either
+:py:meth:`~airflow.secrets.base_secrets.BaseSecretsBackend.get_connection` or
:py:meth:`~airflow.secrets.base_secrets.BaseSecretsBackend.get_conn_value`.
After writing your backend class, provide the fully qualified class name in
the ``backend`` key in the ``[secrets]``
section of ``airflow.cfg``.