Alternatively, you can use Infisical’s official GitHub Action here.

Infisical lets you sync secrets to GitHub at the organization-level, repository-level, and repository environment-level.

1

Authorize GitHub Infisical App

Navigate to your project’s integrations tab in Infisical and press on the GitHub tile.

Select GitHub App as the authentication method and click Connect to GitHub.

You will then be redirected to the GitHub app installation page.

Install and authorize the GitHub application. This will redirect you back to the Infisical integration page.

2

Configure Infisical GitHub integration

Select which Infisical environment secrets you want to sync to which GitHub organization, repository, or repository environment.

Finally, press create integration to start syncing secrets to GitHub.

Connecting with GitHub OAuth

Prerequisites:

  • Set up and add envars to Infisical Cloud
  • Ensure that you have admin privileges to the repository you want to sync secrets to.
1

Authorize Infisical for GitHub

Navigate to your project’s integrations tab in Infisical and press on the GitHub tile.

Select OAuth as the authentication method and click Connect to GitHub.

Grant Infisical access to your GitHub account (organization and repo privileges).

2

Configure Infisical GitHub integration

Select which Infisical environment secrets you want to sync to which GitHub organization, repository, or repository environment.

Finally, press create integration to start syncing secrets to GitHub.

Was this page helpful?