Unexpected exception indices:data/write/index

HI All,

New user here. I grabbed the docker-compose file (https://opendistro.github.io/for-elasticsearch-docs/docs/install/docker/) and started up a cluster. Now I am trying to create an api key so I can try winlogbeat.

When I login as admin and run
POST /_security/api_key
{
“name”: “filebeat_host001”,
“role_descriptors”: {
“filebeat_writer”: {
“cluster”: [“monitor”, “read_ilm”],
“index”: [
{
“names”: [“filebeat-*”],
“privileges”: [“view_index_metadata”, “create_doc”]
}
]
}
}
}

I get
{
“error” : {
“root_cause” : [
{
“type” : “security_exception”,
“reason” : “Unexpected exception indices:data/write/index”
}
],
“type” : “security_exception”,
“reason” : “Unexpected exception indices:data/write/index”
},
“status” : 500
}

That looks a bit strange. I also don’t see a place to view or create api keys in kibana?
I don’t see any mention of api keys in the documentation. Any hint to what I am missing here?

Thank you