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
feat: adds group access token support
Piyush Gupta4acf9b92f77e
diff --git a/backend/src/services/app-connection/gitlab/gitlab-connection-enums.ts b/backend/src/services/app-connection/gitlab/gitlab-connection-enums.tsindex 3bd01d147a..f409a61cfe 100644--- a/backend/src/services/app-connection/gitlab/gitlab-connection-enums.ts+++ b/backend/src/services/app-connection/gitlab/gitlab-connection-enums.ts@@ -5,5 +5,6 @@ export enum GitLabConnectionMethod {export enum GitLabAccessTokenType {Project = "project",- Personal = "personal"+ Personal = "personal",+ Group = "group"}diff --git a/docs/images/app-connections/gitlab/gitlab-group-access-token-created.png b/docs/images/app-connections/gitlab/gitlab-group-access-token-created.pngnew file mode 100644index 0000000000..f5a7383f27Binary files /dev/null and b/docs/images/app-connections/gitlab/gitlab-group-access-token-created.png differdiff --git a/docs/images/app-connections/gitlab/gitlab-group-access-token-form-secret-sync.png b/docs/images/app-connections/gitlab/gitlab-group-access-token-form-secret-sync.pngnew file mode 100644index 0000000000..04dee5a5c1Binary files /dev/null and b/docs/images/app-connections/gitlab/gitlab-group-access-token-form-secret-sync.png differdiff --git a/docs/images/app-connections/gitlab/gitlab-group-access-token-list.png b/docs/images/app-connections/gitlab/gitlab-group-access-token-list.pngnew file mode 100644index 0000000000..e29df04183Binary files /dev/null and b/docs/images/app-connections/gitlab/gitlab-group-access-token-list.png differdiff --git a/docs/integrations/app-connections/gitlab.mdx b/docs/integrations/app-connections/gitlab.mdxindex 4f7223d939..009ca040e0 100644--- a/docs/integrations/app-connections/gitlab.mdx+++ b/docs/integrations/app-connections/gitlab.mdx@@ -187,6 +187,49 @@ Infisical supports two methods for connecting to GitLab: **OAuth** and **Access</Step></Steps></Tab>++ <Tab title="Group Access Token">+ Group access tokens provide access to all projects within a GitLab group, offering group-level control.++ <Steps>+ <Step title="Navigate to Group Settings">+ Go to your GitLab group and navigate to Settings > Access Tokens. Click **Add new token** to create a new group access token.+ + </Step>+ <Step title="Configure Token">+ Fill in the token details:+ - **Token name**: A descriptive name for the token+ - **Expiration date**: Set an appropriate expiration date+ - **Select role and scopes**: Depending on your use case, add the required role and one or more of the following scopes:++ <Tabs>+ <Tab title="Secret Sync">+ For Secret Syncs, your token will require the `api` scope and at least a **Maintainer** role or higher.+ ++ Click **Create group access token** to create the token.+ </Tab>+ <Tab title="Secret Scanning">+ For Secret Scanning, your token will require the `api` scope and at least a **Maintainer** role or higher.+ ++ Click **Create group access token** to create the token.+ </Tab>+ </Tabs>++ <Info>+ Group Access Token connections require manual token rotation when your GitLab access token expires or is regenerated. Monitor your connection status and update the token as needed.+ </Info>+ </Step>+ <Step title="Copy Token">+ Copy the generated token immediately as it won't be shown again.+ + <Warning>+ Keep your access token secure and do not share it. Anyone with access to this token can access all projects within your GitLab group.+ </Warning>+ </Step>+ </Steps>+ </Tab></Tabs>## Setup GitLab Access Token Connection in Infisicaldiff --git a/frontend/src/hooks/api/appConnections/gitlab/types.ts b/frontend/src/hooks/api/appConnections/gitlab/types.tsindex 0d8d9baf0f..7d2699c75a 100644--- a/frontend/src/hooks/api/appConnections/gitlab/types.ts+++ b/frontend/src/hooks/api/appConnections/gitlab/types.ts@@ -10,5 +10,6 @@ export type TGitLabGroup = {export enum GitLabAccessTokenType {Personal = "personal",- Project = "project"+ Project = "project",+ Group = "group"}