AWS ElasticSearch: Mistakenly deleted security_manager role mapping

Hi i hope someone can help me.

I have very stupidly deleted the role mapping security_manager and now every time i try to security confiugration and try to add a user etc it just logs me out .

How can i fix this issue please?

Many thanks

y

Been absolutely bricking it and i managed to fix the issue.

In AWS elasticsearch go to the AWS Portal and go to the elasticsearch cluster — modify authentication and i simply reset the password for the master user.

Logging back in kibana i could go to the security component and access the panels again without it logging me out.