In order to feed our data sources for our Grafana, we need to ensure proper authentication. (At least) at Grafana Cloud, each data source can create API keys for different types of clients. Currently, we are using:
If you need more context, read [[Loki, Promtail and Grafana Cloud]] and then come back.
The fastest, dirty way to try something is to use api keys that are shared between clients. We must use these only for testing purposes and not rely on them. We remove and recreate them from time to time in order to let hanging insecure configs around.
You can find those at Coopdevs bitwarden named “Grafana Cloud - API keys”.
Both grafana instance and grafana cloud dahsboard are accessed with grafana cloud personal accounts.
This will be mostly needed for Promtail. Bear in mind that in case of metrics, we have only one Prometheus server with a single publisher key. If you want to monitor more hosts, see [[Add monitoring to a new host]].