Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Actions: Secure cloud deployments with Open ID Connect on GHES #376

Closed
github-product-roadmap opened this issue Jan 12, 2022 · 1 comment
Labels
actions Feature: GitHub Actions Enterprise Product SKU: GitHub Enterprise ga Feature phase: Generally available server Available on Server shipped Shipped

Comments

@github-product-roadmap
Copy link
Collaborator

Summary

GitHub Actions now supports OpenID Connect (OIDC) for secure deploy to each cloud, which uses short-lived tokens that are automatically rotated for each deployment.

This feature is currently available only for DotCom and will soon be enabled even for enterprise SKUs (GHES).

Intended Outcome

  • With the new OpenID Connect (OIDC) support in GitHub Actions, you can author secure cloud deployment workflows without needing any cloud secrets stored in GitHub.
  • OpenID token exchange eliminates the need for storing any long-lived cloud secrets in GitHub
  • Admins can use the security mechanisms of their cloud provider to ensure Action workflows have the minimal amount of access to cloud resources.

How will it work?

  • Developers set up OIDC trust on their cloud roles to manage access between their deployment workflows and cloud resources.
  • In each deployment, a GitHub Actions workflow can now mint an auto-generated OIDC token. This token has all the metadata needed to get a secure, verifiable, identity for the workflow that is trying to authenticate.
  • Cloud login Actions can fetch this token and present it to their respective clouds.
  • The cloud provider then validates the claims in the OIDC token against the cloud role definition and provides a cloud short-lived access token that is only valid for a single workflow run, and then automatically expires. Actions within the same Job could however use this access token to connect and deploy to the cloud resources.
@github github locked and limited conversation to collaborators Jan 12, 2022
@github-product-roadmap github-product-roadmap added actions Feature: GitHub Actions code-to-cloud ga Feature phase: Generally available Enterprise Product SKU: GitHub Enterprise server Available on Server labels Jan 12, 2022
@Sid-ah Sid-ah moved this to Q2 2022 – Apr-Jun in GitHub Public Roadmap Jan 12, 2022
@spaltrowitz spaltrowitz added the shipped Shipped label Jun 6, 2022
@spaltrowitz
Copy link

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
actions Feature: GitHub Actions Enterprise Product SKU: GitHub Enterprise ga Feature phase: Generally available server Available on Server shipped Shipped
Projects
Archived in project
Development

No branches or pull requests

2 participants