Grafana includes a built-in user authentication system enabled by default. In some cases, we need to enable anonymous access for grafana. To enable anonymous access, you can perform the following steps.
Grafana Environment
In our case, Grafana is running in a Kubernetes cluster on AWS but similar steps should apply for other environments.
Update grafana.ini using ConfigMap
To enable anonymous access for grafana, you can add edit the configmap and add this to configuration
[auth.anonymous]
enabled = true
org_role = Viewer
org_name = sample-org
Note: Please ensure to update the organization name
If you need to disable the login page, you can add this as well:
[auth]
disable_login_form = true
Restart the pod and grafana should be available in anonymous mode.
Grafana includes a built-in user authentication system enabled by default. In some cases, we need to enable anonymous access for grafana. To enable anonymous access, you can perform the following steps.
Grafana Environment
In our case, Grafana is running in a Kubernetes cluster on AWS but similar steps should apply for other environments.
Update grafana.ini using ConfigMap
To enable anonymous access for grafana, you can add edit the configmap and add this to configuration
[auth.anonymous]
enabled = true
org_role = Viewer
org_name = sample-org
Note: Please ensure to update the organization name
If you need to disable the login page, you can add this as well:
[auth]
disable_login_form = true
Restart the pod and grafana should be available in anonymous mode.