Kibana ECK OIDC with DEX

The key was correct but the base 64 endoding was missing. The correct string is:

  xpack.security.authc.realms.oidc.dex.rp.client_secret: "{{ vault.es.oidc.client_secret | string | b64encode }}"