Skip to content

Using a GitHub App instead of PATs #98

@haydentherapper

Description

@haydentherapper

Description

The most significant downside of PATs is their frequent expiration. I'd propose exploring GitHub Apps as an alternative.

This blog post summarizes the steps succinctly, with official instructions here. An org admin will create the app at the org level. You can assign per-repo permissions (which we would do for root-signing-staging and root-signing). You will need an org-level secret private key.

Chainguard just released https://github.com/octo-sts/action (more details) which has the nice property of limiting access to the private key, which lives in KMS, to only the GitHub App. We wouldn't leverage the federation features though, so a simple app might be sufficient.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions