Hi,
I tried to set anonymous authentication on kibana ver 7.8 following these instructions:
But when I insert in my kibana.yml:
xpack.security. authc.providers:
basic.basic1:
order: 0
anonymous.anonymous1:
order: 1
credentials:
username: "anonymous_service_account"
password: "anonymous_service_account_password"
I get this error:
98]: {"type":"log","@timestamp":"2020-12-17T13:15:13Z","tags":["fatal","root"],"pid":27198,"message":"{ Error: [config val
Dec 17 14:15:13 ctaqvwragrw02 kibana[27198]: FATAL Error: [config validation of [xpack.security].authc.providers]: types that failed validation:
Dec 17 14:15:13 ctaqvwragrw02 kibana[27198]: - [config validation of [xpack.security].authc.providers.0]: expected value of type [array] but got [Object]
Dec 17 14:15:13 ctaqvwragrw02 kibana[27198]: - [config validation of [xpack.security].authc.providers.1.anonymous]: definition for this key is missing
If I leave only the basic proveder without the anonymous one it works.
Could you please help me?
That version does not support anonymous authentication - in fact no released version of Kibana does, it is a feature that we expect to support in an upcoming Kibana release.
Thank you Tim, I was so focused on the problem that I didn't note it was an upcoming feature.
My problem is that I have a web application and I call kibana dashboards via iframe
RequestHeader set Authorization "Basic myBase64Credentials"
but if a user goes directly to https://mydomain/kibana he is automatically logged in so he can visualise the dashboards. I would like to have logged in users only if they access via iframe as the anonymous authentication feature would do. Is there any solution or I have to wait the upcoming anonymous authentication feature?
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.