Neki, sharded Postgres, is now available. Learn more
Navigation

Authenticate to the PlanetScale API from Buildkite with OpenID Connect

You can now authenticate to the PlanetScale API from Buildkite pipelines using OpenID Connect (OIDC). A pipeline step exchanges its Buildkite OIDC token for a short-lived service token, so you no longer need to store long-lived PlanetScale credentials in your Buildkite secrets.

Create a Buildkite trust policy in the dashboard for your Buildkite organization and pipeline, then request a token with buildkite-agent oidc request-token and exchange it with the PlanetScale API.

Read more