Skip to content

elastic/oblt-google-auth-buildkite-plugin

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

Properties

Name Description Required Default
lifetime The time (in seconds) the OIDC token will be valid for before expiry. Must be a non-negative integer. false 1800
project-id The GCP project id. false elastic-observability
project-number The GCP project number. false 8560181848

Usage

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

Requirements

This plugin needs the following requirements:

  • bash
  • buildkite-agent

About

No description or website provided.

Topics

Resources

Security policy

Stars

Watchers

Forks

Packages

 
 
 

Contributors