What Grafana version and what operating system are you using?
What are you trying to achieve?
After deploying grafana, I’d like to provision dashboards/folders/alerts/etc. with the grafana terraform provider. To do this, I need an API token that needs to be created on the deployed instance first.
How are you trying to achieve it?
If using basic auth, one could call the API with an admin user to do so, but I’m using the saml authentication and I can’t provision a “technical” admin user for this sole purpose. Currently I can only think of manually creating this initial token from an admin user account.
What would be the better way here? Is there a way to provision tokens from file for example? Something else?