GitHub
Integrate an environment with GitHub
The GitHub integration lets you connect a Stashbase environment with a GitHub repository so you can synchronize secrets to GitHub Actions.
Common use cases
- Use Stashbase as the source of truth and publish selected secrets to GitHub Actions secrets.
- Keep GitHub Actions secrets synchronized with environment changes in Stashbase.
- Manage secret updates centrally while delivering them to GitHub repository.
Connection configuration
In order to connect an environment with GitHub, you need to create workspace integration connection. In order to create a GitHub connection, you need to authorize Stashbase to access your GitHub account and select the repository you want to connect with.
Integration configuration
To create a GitHub integration, you need to configure the following settings.
Repository
The target GitHub repository where secrets should be created or updated.
Secret name prefix
Optional prefix to use for secret names in GitHub. This helps to organize secrets and avoid naming conflicts.
GitHub environment
Optional GitHub Environment to sync with. When set, secrets are synchronized as environment secrets for the selected GitHub Environment.