Hello,

In Airflow 2, we've moved some configuration options to the new section. We also changed the names of some of the configuration options. This is confusing for users who are familiar with the old option and section names.  It would be great if we could add information to the documentation that points to the new name of the options.

https://github.com/apache/airflow/blob/8f48f12128e0d985c6de2603902524859fecbca8/airflow/configuration.py#L139-L169

> 'The {old} option in [{section}] has been renamed to {new}
> 'The {old_key} option in [{old_section}] has been moved to the {new_key} option in '
> '[{new_section}]

Best regards,
Kamil Breguła

airflow/configuration.py
return f'AIRFLOW__{section.upper()}__{key.upper()}'
    def _get_env_var_option(self, section, key):
        
        env_var = self._env_var_name(section, key)
        if env_var in os.environ:
            return expand_env_var(os.environ[env_var])
        
        env_var_cmd = env_var + '_CMD'
        if env_var_cmd in os.environ:
            
            if (section, key) in self.sensitive_config_values:
                return run_command(os.environ[env_var_cmd])
        
        env_var_secret_path = env_var + '_SECRET'
        if env_var_secret_path in os.environ:
            
            if (section, key) in self.sensitive_config_values:
                return _get_config_value_from_secret_backend(os.environ[env_var_secret_path])
        return None
    def _get_cmd_option(self, section, key):
        fallback_key = key + '_cmd'
        
        if (section, key) in self.sensitive_config_values:
            if super().has_option(section, fallback_key):
                command = super().get(section, fallback_key)
                return run_command(command)
        return None
    def _get_secret_option(self, section, key):