Error: [config validation of [elasticsearch].serviceAccountToken]: serviceAccountToken cannot be specified when "username" is also set

Hello,

when I try to follow this instruction to secure my Elastic Stack, I will get this error:

Error: [config validation of [elasticsearch].serviceAccountToken]: serviceAccountToken cannot be specified when "username" is also set.

What am I doing wrong? In kibana.yml the Service account Token is disabled:

elasticsearch.username: "kibana_system"
elasticsearch.password: *A password*

# elasticsearch.serviceAccountToken: "my_token"

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.