At the moment plugins can be configured via command line, environment variables, or json configuration file. But they cannot be configured in the main server yaml config. I think this is just because our yaml config parser only parses the top level and not nested sections.
It may need some adjusting to not treat the plugin config as unknown configuration options.
this is in 24.10.0 (not preview1 though)
It's a good idea, especially considering that the LDAP auth plugin must be configured using the main configuration YAML file. It gets confusing when different plugins needs to be configured differently.