I can’t figure out where to create/find the key for the api basic authorisation. Can you tell me where to find the key?
API keys can be created in Configuration > API keys
Basic auth doesn’t require keys, but user and password
http://AdminUser:AdminPassword@localhost:3000/api/org
Some api paths like the admin API requires basic auth
http://AdminUser:AdminPassword@localhost:3000/api/users
While others can be used with api keys
curl -H "Authorization: Bearer APIKey" http://localhost:3100/api/dashboards/home
It’s documentet what requires what on HTTP API | Grafana documentation