This is an automated email from the ASF dual-hosted git repository.

kaxilnaik 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 b8e93bfe64 Add kerberos environment variables to the docs (#27028)
b8e93bfe64 is described below

commit b8e93bfe64aaaad2a35231b22d8ef1f35f919a74
Author: Phani Kumar <[email protected]>
AuthorDate: Fri Oct 21 19:12:47 2022 +0530

    Add kerberos environment variables to the docs (#27028)
---
 docs/apache-airflow/security/kerberos.rst | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/docs/apache-airflow/security/kerberos.rst 
b/docs/apache-airflow/security/kerberos.rst
index 7341443c94..4514f9553f 100644
--- a/docs/apache-airflow/security/kerberos.rst
+++ b/docs/apache-airflow/security/kerberos.rst
@@ -61,6 +61,16 @@ your ``airflow.cfg``
     reinit_frequency = 3600
     principal = airflow
 
+In case you are using Airflow in a docker container based environment,
+you can set the below environment variables in the ``Dockerfile`` instead of 
modifying ``airflow.cfg``
+
+.. code-block:: dockerfile
+
+    ENV AIRFLOW__CORE__SECURITY kerberos
+    ENV AIRFLOW__KERBEROS__KEYTAB /etc/airflow/airflow.keytab
+    ENV AIRFLOW__KERBEROS__INCLUDE_IP False
+
+
 If you need more granular options for your Kerberos ticket the following 
options are available with the following default values:
 
 .. code-block:: ini

Reply via email to