This is an automated email from the ASF dual-hosted git repository. ephraimanierobi pushed a commit to branch v2-4-test in repository https://gitbox.apache.org/repos/asf/airflow.git
commit c2adc2a52202e9d8f3180835f785ae2699237868 Author: Phani Kumar <[email protected]> AuthorDate: Fri Oct 21 19:12:47 2022 +0530 Add kerberos environment variables to the docs (#27028) (cherry picked from commit b8e93bfe64aaaad2a35231b22d8ef1f35f919a74) --- 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
