Get API key from Grafana API

You can generate API key with Ansible:

I don’t know if that suit you.