https://github.com/chinmina/chinmina-bridge
Allows Buildkite agents to use ephemeral GitHub tokens to authenticate their interactions. Avoids deploy keys and long-lived PATs.
https://github.com/chinmina/chinmina-bridge
buildkite github github-app oidc security
Last synced: 15 days ago
JSON representation
Allows Buildkite agents to use ephemeral GitHub tokens to authenticate their interactions. Avoids deploy keys and long-lived PATs.
- Host: GitHub
- URL: https://github.com/chinmina/chinmina-bridge
- Owner: chinmina
- License: gpl-3.0
- Created: 2024-04-07T13:10:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2026-05-20T06:31:18.000Z (22 days ago)
- Last Synced: 2026-05-20T10:06:40.031Z (22 days ago)
- Topics: buildkite, github, github-app, oidc, security
- Language: Go
- Homepage: https://docs.chinmina.dev
- Size: 1.42 MB
- Stars: 15
- Watchers: 3
- Forks: 3
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Agents: AGENTS.md
Awesome Lists containing this project
README
# Chinmina Bridge
[](https://docs.chinmina.dev)
[](https://deepwiki.com/chinmina/chinmina-bridge)
**Connect Buildkite to GitHub with secure, short-lived tokens.**
Chinmina Bridge allows Buildkite agents to securely generate GitHub API tokens
that can be used to perform Git or other GitHub API actions. It is intended to
be an alternative to the use of SSH deploy keys or long-lived Personal Access
Tokens.

The bridge itself is an HTTP endpoint that uses a [GitHub
application][github-app] to create [ephemeral GitHub access
tokens][github-app-tokens]. Requests are authorized with a [Buildkite
OIDC][buildkite-oidc] token, allowing a token to be created just for the
repository associated with an executing pipeline.
> [!NOTE]
> Further details about Chinmina Bridge are available in the [documentation][docs].
>
> This has an expanded [introduction][docs-intro], a [getting
> started][docs-started] guide and a detailed [configuration
> reference][docs-config].
>
> The documentation has a more detailed description of the implementation, and
> clear guidance on configuration and installation.
[github-app]: https://docs.github.com/en/apps
[github-app-tokens]: https://docs.github.com/en/apps/creating-github-apps/authenticating-with-a-github-app/generating-an-installation-access-token-for-a-github-app
[buildkite-oidc]: https://buildkite.com/docs/agent/v3/cli-oidc
[git-credential-helper]: https://git-scm.com/docs/gitcredentials#_custom_helpers
[docs]: https://docs.chinmina.dev
[docs-intro]: https://docs.chinmina.dev/introduction/
[docs-started]: https://docs.chinmina.dev/guides/getting-started/
[docs-config]: https://docs.chinmina.dev/reference/configuration/
## Contributing
This project welcomes contributions! For detailed guidance on contributing, including standards for pull requests, code quality, and AI-generated contributions, see the [contributing guide][docs-contributing].
Quick start:
- Browse [outstanding issues](https://github.com/chinmina/chinmina-bridge/issues) for something to work on
- Follow the [local development setup][docs-dev] to get started
- Review the [contributing guidelines][docs-contributing] before submitting your PR
[docs-contributing]: https://docs.chinmina.dev/contributing/
[docs-dev]: https://docs.chinmina.dev/contributing/development/