diff --git a/docs/apache-airflow/security/kerberos.rst b/docs/apache-airflow/security/kerberos.rst index c5b8b61544cde..4514f9553f8e2 100644 --- a/docs/apache-airflow/security/kerberos.rst +++ b/docs/apache-airflow/security/kerberos.rst @@ -64,9 +64,11 @@ your ``airflow.cfg`` 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`` -ENV AIRFLOW__CORE__SECURITY kerberos -ENV AIRFLOW__KERBEROS__KEYTAB /etc/airflow/airflow.keytab -ENV AIRFLOW__KERBEROS__INCLUDE_IP False +.. 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: