Skip to content

Maintenance: Encrypt GitHub Actions secrets with environments feature #1354

Closed

Description

@heitorlessa

Summary

By default, Secrets are only exposed to GitHub Actions workflow that run in the base repo. We could do better and only expose certain secrets - release role ARNs, etc. - to specific workflows only.

More info: https://docs.github.com/en/actions/deployment/targeting-different-environments/using-environments-for-deployment#environment-secrets

Why is this needed?

Increases security posture and minimize blast radius by limiting secrets to specific workflows on a need-to-have basis.

Which area does this relate to?

Automation, Governance

Solution

No response

Acknowledgment

Activity

  1. added
    triage
    internal
    on Jul 22, 2022
  2. heitorlessa commented on Jul 22, 2022

    @heitorlessa
    ContributorAuthor

    related: #1353

  3. removed
    triage
    on Jul 22, 2022
  4. heitorlessa commented on Jul 22, 2022

    @heitorlessa
    ContributorAuthor

    Forgot to share that this requires Secrets to be recreated as Environment Secrets.

  5. added
    pending-release
    on Jul 22, 2022
  6. removed
    pending-release
    on Jul 22, 2022
  7. github-actions commented on Jul 22, 2022

    @github-actions
    Contributor

    ⚠️COMMENT VISIBILITY WARNING⚠️

    This issue is now closed. Please be mindful that future comments are hard for our team to see.

    If you need more assistance, please either tag a team member or open a new issue that references this one.

    If you wish to keep having a conversation with other community members under this issue feel free to do so.

  8. added
    pending-release
    on Jul 22, 2022
  9. github-actions commented on Jul 25, 2022

    @github-actions
    Contributor

    This is now released under 1.26.6 version!

  10. removed
    pending-release
    on Jul 25, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    internal

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions