Error when disabling security

Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch 2.6.0 (installed via debian package)

Describe the issue:
Following the documentation on disabling security (Disabling security - OpenSearch documentation) , I’m getting an exception:

java.lang.IllegalArgumentException: unknown setting [plugins.security.disabled] please check that any required plugins are installed, or check the breaking changes documentation for removed settings

where the documentation says to add ```
plugins.security.disabled: true

to opensearch.yml.

What is the correct way to disable documentation?

thanks.

Hey @floating_ice

Seams to work, It is a YAML file so make sure you have correct spacing

plugins.security.disabled: true

@floating_ice Do you have a security plugin installed?

./bin/opensearch-plugin list