Self defined API key

Hi, do someone know if it’s possible to create self defined api key in Grafana? Preferably via http api or in initial configuration (I’m doing it in docker-compose).

hi @iluanna, the API keys are generated with a role from within grafana.

Can you share more about the reason you want to create your own self-defined key?

You can create an API key via the API if that is useful for your workflow: API Tutorial: Create API tokens and dashboards for an organization | Grafana documentation