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
{/*
Props:
- method: "github-app" or "personal-access-token", so each step shows the instructions and screenshots for its own GitHub screen.
*/}
{method === "github-app" && (
<MDX>
Under **Permissions**, set the permissions for every [type of GitHub secret](/integrations/secret-syncs/github#secret-types) you plan to sync:
</MDX>
)}
{method === "personal-access-token" && (
<MDX>
Under **Permissions**, select **Add permissions** and add the permissions for every [type of GitHub secret](/integrations/secret-syncs/github#secret-types) you plan to sync:
</MDX>
)}
<AccordionGroup>
<Accordion title="Actions secrets">
- To sync to a repository, set the repository permission **Secrets** to Read and write
- To sync to a repository environment, also set the repository permission **Environments** to Read and write, and **Actions** to Read-only
- To sync to an organization, set the organization permission **Secrets** to Read and write
{method === "github-app" && (
<MDX>

</MDX>
)}
{method === "personal-access-token" && (
<MDX>

</MDX>
)}
</Accordion>
<Accordion title="Dependabot secrets">
- To sync to a repository, set the repository permission **Dependabot secrets** to Read and write
- To sync to an organization, set the organization permission **Organization dependabot secrets** to Read and write
{method === "github-app" && (
<MDX>

</MDX>
)}
{method === "personal-access-token" && (
<MDX>

</MDX>
)}
</Accordion>
<Accordion title="Codespaces secrets">
GitHub Enterprise Server doesn't include Codespaces, so you can't sync Codespaces secrets through a GitHub Enterprise Server connection.
- To sync to a repository, set the repository permission **Codespaces secrets** to Read and write
- To sync to an organization, set the organization permission **Organization codespaces secrets** to Read and write
{method === "github-app" && (
<MDX>

</MDX>
)}
{method === "personal-access-token" && (
<MDX>

</MDX>
)}
</Accordion>
</AccordionGroup>