grafana
How to get these credentialsConnection to a Grafana HTTP API (Grafana OSS, Enterprise or Grafana Cloud): base URL plus a service account token, API key or basic-auth login.
CREATE SECRET grafana (
TYPE grafana,
base_url '<base_url>',
token '<GRAFANA_TOKEN>', -- secret
username '<username>',
password '<GRAFANA_PASSWORD>', -- secret
org_id '<org_id>',
page_size '<page_size>'
);
| Key | Type | Required | Description |
|---|---|---|---|
| base_url | VARCHAR | — | Grafana root URL, e.g. 'https://grafana.example.com' or 'https://acme.grafana.net'. Include the sub-path when Grafana is served from one. |
| token secret | VARCHAR | — | Service account token or API key, sent as 'Authorization: Bearer <token>'. |
| username | VARCHAR | — | Basic-auth login (used when no TOKEN is set). |
| password secret | VARCHAR | — | Basic-auth password. |
| org_id | VARCHAR | — | Organization id sent as the X-Grafana-Org-Id header; default: the credential's current organization. |
| page_size | VARCHAR | — | Page size for paged list endpoints (search, users, teams, library panels, annotations); default 1000. |
The worker doesn't mark which keys are required.