Ok we have it
If I understand correctly, What you want to accomplish is enable the ability for a user to anonymous login to view Kibana dashboards etc. That is supported in Elastic Cloud, what is not supported is underlying anonymous access to elasticsearch. That is where the confusion lay.
So this is how you do it.
Reference Here.. and there is even a little video on it here . Note the docs link to 7.11 so make sure you use the latest.
First create the user and role as you would via Kibana.
Then add the setting to the kibana.yml
xpack.security.authc.providers:
basic.basic1: <!-- This is the normal login
order: 0
anonymous.anonymous1: <!-- This is the anonymous login
order: 1
credentials:
username: "test"
password: "askldjfhaslkdjf1654"
Then you should be able to get a login with this
I set up to see Discover
Let us know if that works...