1. Resources
  2. /
  3. Plugins
  4. /
  5. oblt-google-auth-buildkite-plugin

Authenticate to Google Cloud from Buildkite

usages

This is an opinionated plugin to authenticate to any Google Cloud project from Buildkite using Workload Identity Federation. The Workload Identity Provider uses a hash for the GitHub repository with the format owner/repo, the hash has a length of 28 characters.

The Workload Identity Pool defaults to buildkite. Teams that own a separate pool can select it with workload-identity-pool-suffix, which is appended to the hardcoded buildkite prefix — a suffix of sec-eng resolves to the pool buildkite-sec-eng. The prefix is not configurable so the plugin can only ever target pools dedicated to Buildkite.

Properties

NameDescriptionRequiredDefault
lifetimeThe time (in seconds) the OIDC token will be valid for before expiry. Must be a non-negative integer.false1800
project-idThe GCP project id.falseelastic-observability
project-numberThe GCP project number.false8560181848
workload-identity-pool-suffixSuffix appended to the buildkite pool id, e.g. sec-eng -> buildkite-sec-eng. 1-22 characters of [a-z0-9-], starting and ending with a letter or digit.falsenone (pool buildkite)

Usage

steps:
  - command: |
      echo "Credentials are located at \$GOOGLE_APPLICATION_CREDENTIALS"
      gcloud container clusters list
    plugins:
      - elastic/oblt-google-auth#v1.3.5:
          lifetime: 1800 # seconds
          # project-id: "elastic-observability"
          # project-number: "8560181848"

Using a dedicated Workload Identity Pool

workload-identity-pool-suffix only works if the target project already has a buildkite-<suffix> pool provisioned for it — this plugin does not create one. Pool provisioning is opinionated and managed through a dedicated Terraform module, so this option is only useful to teams that have already set up such a pool through that module.

steps:
  - command: |
      echo "Credentials are located at \$GOOGLE_APPLICATION_CREDENTIALS"
      gcloud container clusters list
    plugins:
      - elastic/oblt-google-auth#v1.3.5:
          lifetime: 1800 # seconds
          project-id: "elastic-observability"
          project-number: 8560181848
          workload-identity-pool-suffix: "sec-eng" # -> pool "buildkite-sec-eng"

Requirements

This plugin needs the following requirements:

  • bash
  • buildkite-agent

Buildkite pipeline

The Buildkite pipeline documentation describes the repository’s automated plugin tests and validation steps.

The plugins listed on this webpage are provided for informational purposes only. They have not undergone any formal security review or assessment. While we strive to provide useful resources, we cannot guarantee the safety, reliability, or integrity of these plugins. Users are strongly advised to conduct their own security evaluations before downloading, installing, or using any plugin. By using these plugins, you acknowledge and accept any risks associated with their use. We disclaim any liability for any harm or damages arising from the use of the plugins listed.

You deserve better CI.

Get started for free with a full month of our all-access trial.

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

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

Compare

  1. Buildkite vs GitHub Actions
  2. Buildkite vs Jenkins
  3. Buildkite vs CircleCI
  4. Buildkite vs Harness
  5. Buildkite vs CloudBees
  6. Buildkite vs Blacksmith
  7. Buildkite vs Depot

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