Kibana.yml is not accepting custom headers

My kibana.yml looks like below:
Kibana.yml

elasticsearch.customHeaders: { "my_consumer.id":"5cf4af56-1769-4fb7-84ef-71cc99eb23" }

elasticsearch.hosts: http://<es_ip>:9200

logging.dest: /var/log/kibana/kibana.log

pid.file: /var/run/kibana.pid

server.host: "0.0.0.0"

server.port: 5601

In the custom headers, If we provide key my_consumer.id with "." in it Kibana will not start up. If we remove the "." from key my_consumerid, kibana is starting up and connecting to ES.
I have a bunch of key value pair with "." in it to provide as custom headers.
I have tried escaping it my_consumer\.id but no luck.
Could someone please help me on this?

Thanks,
Somebody

Hi @somebody,

Hmm, it seems it's not possible right, would you mind filing an issue here?

Best,
Oleg