K

k6 CLI

CLI discovered

Details
Command
k6
Docs
https://grafana.com/docs/grafana-cloud/testing/k6/author-run/tokens-and-cli-authentication/
Authentication
Grafana Cloud k6 API token $ k6 cloud login --token <TOKEN> --stack <STACK> + Grafana Cloud stack ID $ k6 cloud login --token <TOKEN> --stack <STACK> discovered
Grafana Cloud k6 API token bearer Get token ↗

In your Grafana Cloud stack, open Testing & synthetics → Performance → Settings. Under Access, choose Personal token to copy/regenerate a personal token, or Stack token to create a stack-level token. See Authenticate on the CLI for the exact steps and token types.

Grafana Cloud stack ID compound Get key ↗

Open your Grafana Cloud stack, then go to Testing & synthetics → Performance → Settings → Access → Stack ID and copy the stack ID. The same settings area is referenced in Authenticate on the CLI.