Infisical is the open-source platform for securing secrets, certificates, access, and AI Agents.
TypeScript acmeagentsai-agentscertificate-managementdevsecopsenvironment-variableskubernetesopen-sourcepampkipostgresprivate-caprivileged-access-managementsecret-managementsecret-managersecretssecrets-managementsecuritysecurity-toolsvault
update public doc
Thiago Araujo da Silvae2e0bd441ce9
diff --git a/docs/integrations/app-connections/github.mdx b/docs/integrations/app-connections/github.mdxindex 8b8bc10b1d..b1a635414a 100644--- a/docs/integrations/app-connections/github.mdx+++ b/docs/integrations/app-connections/github.mdx@@ -75,6 +75,11 @@ Infisical supports three methods for connecting to GitHub.- `INF_APP_CONNECTION_GITHUB_APP_SLUG`: The **Slug** of your GitHub application. This is the one found in the URL.- `INF_APP_CONNECTION_GITHUB_APP_ID`: The **App ID** of your GitHub application.- `INF_APP_CONNECTION_GITHUB_APP_PRIVATE_KEY`: The **Private Key** of your GitHub application.+ - `INF_APP_CONNECTION_GITHUB_APP_HOST` *(GitHub Enterprise Server only)*: The hostname of the GitHub instance where the shared GitHub App is registered (e.g. `github.mycompany.com`). Only required when the shared app is registered on a GHES instance. Defaults to `github.com`.++ <Note>+ If your shared GitHub App is registered on a GitHub Enterprise Server instance, you must set `INF_APP_CONNECTION_GITHUB_APP_HOST` to that instance's hostname. Without it, the OAuth exchange will be directed to `github.com` instead of your GHES host.+ </Note>Once configured, you can use the GitHub integration via app authentication. If you configured the credentials using environment variables, restart your Infisical instance for the changes to take effect. If you configured them through the server admin panel, allow approximately 5 minutes for the changes to propagate.</Step>@@ -93,11 +98,18 @@ Infisical supports three methods for connecting to GitHub.</Step><Step title="Authorize Connection">- Select the **GitHub App** method and click **Connect to GitHub**.+ Select the **GitHub App** method.- You may optionally configure GitHub Enterprise options:- - **Gateway:** The gateway connected to your private network- - **Hostname:** The hostname at which to access your GitHub Enterprise instance+ Choose which GitHub App to use for the connection:+ - **Shared app** — the instance-default GitHub App configured by your Infisical admin.+ - **Org-managed app** — a GitHub App registered under your GitHub organization. Select an existing one from the list, or click **Create new GitHub App** to register a new app directly from Infisical via GitHub's app manifest flow. The new app will be automatically configured with the correct permissions and callback URLs.++ You may optionally enable **GitHub Enterprise** to configure enterprise-specific options:+ - **Instance Type:** Enterprise Cloud or Enterprise Server+ - **Instance Hostname:** The hostname of your GitHub Enterprise instance (e.g. `github.mycompany.com`)+ - **Gateway:** The gateway connected to your private network (Enterprise Server only)++ Click **Connect to GitHub** when ready.</Step>diff --git a/docs/self-hosting/configuration/envars.mdx b/docs/self-hosting/configuration/envars.mdxindex 873c7890f5..5928a6f40e 100644--- a/docs/self-hosting/configuration/envars.mdx+++ b/docs/self-hosting/configuration/envars.mdx@@ -742,6 +742,10 @@ You can configure third-party app connections for re-use across Infisical ProjecThe private key for the GitHub App</ParamField>+ <ParamField query="INF_APP_CONNECTION_GITHUB_APP_HOST" type="string" default="github.com" optional>+ The hostname of the GitHub instance where the shared GitHub App is registered. Only required when the shared GitHub App is registered on a GitHub Enterprise Server (GHES) instance rather than github.com (e.g. `github.mycompany.com`). Defaults to `github.com` when not set.+ </ParamField>+</Accordion><Accordion title="GitHub Radar App Connection">