1. Resources
  2. /
  3. Changelog
  4. /
  5. OIDC authentication in bktec

OIDC authentication in bktec

As of version 2.6.0, the Buildkite Test Engine Client (bktec) supports generating short lived OIDC tokens for authentication with Test Engine.

bktec has previously required two authentication environment variables to set on builds, BUILDKITE_TEST_ENGINE_API_ACCESS_TOKEN and BUILDKITE_ANALYTICS_TOKEN. Both of these are now optional. bktec will generate an OIDC token if either is missing.

What's new

  • If the previously mandatory environment variable BUILDKITE_TEST_ENGINE_API_ACCESS_TOKEN is not set , bktec will generate an OIDC token to communicate with the test splitting API.
  • If the environment variable BUILDKITE_ANALYTICS_TOKEN is not set, bktec will generate an OIDC token and set BUILDKITE_ANALYTICS_TOKEN with it's value when invoking the test runner. Test collectors use this environment variable by default to authenticate test result uploads.
  • Token lifetime is 2 hours by default, and can be controlled with the --oidc-lifetime flag.
  • OIDC token generation can be disabled with the --no-oidc flag.

An OIDC policy must be set on any suite using OIDC authentication, specifying which pipelines are permitted access to the suite. You can read more on authentication environment variables in the bktec documentation.

Malcolm

Atom feed

Start turning complexity into an advantage

Create an account to get started for free.

Buildkite Pipelines

Platform

  1. Pipelines
  2. Public pipelines
  3. Test Engine
  4. Package Registries
  5. Mobile Delivery Cloud
  6. Pricing

Hosting options

  1. Self-hosted agents
  2. Mac hosted agents
  3. Linux hosted agents

Resources

  1. Docs
  2. Blog
  3. Changelog
  4. Example pipelines
  5. Plugins
  6. Webinars
  7. Case studies
  8. Events
  9. Migration Services
  10. CI/CD perspectives

Company

  1. About
  2. Careers
  3. Press
  4. Security
  5. Brand assets
  6. Contact

Solutions

  1. Replace Jenkins
  2. Workflows for MLOps
  3. Testing at scale
  4. Monorepo mojo
  5. Bazel orchestration

Legal

  1. Terms of Service
  2. Acceptable Use Policy
  3. Privacy Policy
  4. Subprocessors
  5. Service Level Agreement
  6. Supplier Code of Conduct
  7. Modern Slavery Statement

Support

  1. System status
  2. Forum
© Buildkite Pty Ltd 2026