May 1, 2024, 5:48 p.m. | Wagner Manganelli (aka manga)

DEV Community dev.to




Intro


Hello there! Welcome to our guide on automating OpenID Connect (OIDC) using Terraform with Google Cloud Platform (GCP) to grant access to GitHub Actions.





Overview


In this post, we'll explore the seamless integration of OIDC, enabling GitHub Actions workflows to access GCP resources without the need to store long-lived GCP credentials as GitHub secrets.





Prerequisites


Before we begin, ensure you have the following prerequisites:



  • Terraform CLI installed

  • gcloud CLI installed

  • Access to a Google Cloud Platform (GCP) project

  • Access …

access actions authentication cloud cloud platform connect gcp github github actions githubactions google google cloud googlecloud google cloud platform grant guide hello integration oidc openid openid connect passwords platform resources store terraform workflows

Information Security Engineers

@ D. E. Shaw Research | New York City

Technology Security Analyst

@ Halton Region | Oakville, Ontario, Canada

Senior Cyber Security Analyst

@ Valley Water | San Jose, CA

Security Operations Manager-West Coast

@ The Walt Disney Company | USA - CA - 2500 Broadway Street

Vulnerability Analyst - Remote (WFH)

@ Cognitive Medical Systems | Phoenix, AZ, US | Oak Ridge, TN, US | Austin, TX, US | Oregon, US | Austin, TX, US

Senior Mainframe Security Administrator

@ Danske Bank | Copenhagen V, Denmark