I'm trying to delete old indices from x-pack security enabled elasticsearch cluster. In curator config file I have added username and password options under client category. But I'm receiving this error when trying to delete indexes using curator.
Schema error: extra keys not allowed @ data['client']['username']
Configuration: Client Configuration: Location: full configuration dictionary: Bad Value: "{'hosts': ['127.0.0.1'], 'port': 9200, 'username': 'xxxxx', 'password': 'xxxxxxxx', 'use_ssl': False, 'ssl_no_validate': False, 'timeout': 30, 'master_only': False}", extra keys not allowed @ data['client']['username']. Check configuration file.