Is there a way to completely disable the entire authentication subsystem? I’m trying to get a dockerized dev-environment grafana setup going, and for our purposes this would simply be to enable metric collection/analysis in dev-only environments. The data is throwaway, and there’s no business need to require passwords / accounts at all. I’d rather just have everything wide open and completely ignore users & permissions of any kind.
Enable anonymous access and give everyone the Admin role.
[auth.anonymous] enabled = true org_role = Admin
Ah, perfect. I was getting caught up in the
org_name setting and thought it was required (and then it has to be created, etc). Didn’t realize this would do it.
where is the file located?
It depends on your OS. You can see the list of config file locations here: https://grafana.com/docs/grafana/latest/installation/configuration/