Skip to content

Managed secret providers

Grafana

Connect Grafana to Alter Vault for secure API access

Use Grafana credentials to make authenticated API calls through Alter Vault without exposing API keys in code.

PropertyValue
Provider IDgrafana
CategoryMonitoring & Observability
Credential TypeBearer Token

Log in to Grafana Cloud

Log in to Grafana Cloud at grafana.com/auth/sign-in.

Open your Grafana instance

Open your Grafana instance and go to Administration → Service Accounts.

Create a service account

Create a service account and add a token.

Copy your token

Copy the generated token (starts with glsa_).

Enter your Grafana domain

Enter your Grafana domain in the Grafana Domain field (e.g. your-stack.grafana.net).

Open the Developer Portal

Go to portal.alterauth.com and navigate to the application.

Add Grafana

Go to Managed Secrets > Add Provider > Grafana.

Enter credentials

Paste your Service Account Token and Grafana Domain into their respective fields.

Save

Click Save. You’ll receive a grant_id to use with the SDK.

response = await alter_app.request(
HttpMethod.GET,
"https://YOUR_GRAFANA_STACK.grafana.net/api/dashboards/home",
grant_id="YOUR_GRANT_ID",
)