diff --git a/docs/images/app-connections/gitlab/create-gitlab-access-token-connection.png b/docs/images/app-connections/gitlab/create-gitlab-access-token-connection.png index 382df365b..0a7ba027f 100644 Binary files a/docs/images/app-connections/gitlab/create-gitlab-access-token-connection.png and b/docs/images/app-connections/gitlab/create-gitlab-access-token-connection.png differ diff --git a/docs/images/secret-syncs/gitlab/gitlab-secret-sync-destination.png b/docs/images/secret-syncs/gitlab/gitlab-secret-sync-destination.png index 58034deeb..a8b1ab6bc 100644 Binary files a/docs/images/secret-syncs/gitlab/gitlab-secret-sync-destination.png and b/docs/images/secret-syncs/gitlab/gitlab-secret-sync-destination.png differ diff --git a/docs/integrations/app-connections/gitlab.mdx b/docs/integrations/app-connections/gitlab.mdx index e16ccd57c..6401630a1 100644 --- a/docs/integrations/app-connections/gitlab.mdx +++ b/docs/integrations/app-connections/gitlab.mdx @@ -172,7 +172,7 @@ Infisical supports two methods for connecting to GitLab: **OAuth** and **Access ![Select GitLab Connection](/images/app-connections/gitlab/select-gitlab-connection.png) - Select the **Access Token** method and paste your GitLab access token in the provided field. + Select the **Access Token** method and paste your GitLab access token in the provided field. And select the appropriate token type. ![Configure Access Token](/images/app-connections/gitlab/create-gitlab-access-token-connection.png) diff --git a/docs/integrations/secret-syncs/gitlab.mdx b/docs/integrations/secret-syncs/gitlab.mdx index 8ea2673d9..ff33f2699 100644 --- a/docs/integrations/secret-syncs/gitlab.mdx +++ b/docs/integrations/secret-syncs/gitlab.mdx @@ -30,13 +30,13 @@ description: "Learn how to configure a GitLab Sync for Infisical." ![Configure Destination](/images/secret-syncs/gitlab/gitlab-secret-sync-destination.png) - **GitLab Connection**: The GitLab Connection to authenticate with. - - **Scope**: The GitLab secret scope to sync secrets to. - - **Individual**: Sync secrets to a specific project. - - **Group**: Sync secrets to a project within a group. + - **Scope**: The GitLab scope to sync secrets to. + - **Project**: Sync secrets to a GitLab project. + - **Group**: Sync secrets to a GitLab group.

The remaining fields are determined by the selected **Scope**: - + - **GitLab Project**: The project to deploy secrets to. - **GitLab Environment Scope**: The environment scope to deploy secrets to (optional, defaults to "*" for all environments). - **Mark secrets as Protected**: If enabled, synced secrets will be marked as protected in GitLab. @@ -44,14 +44,16 @@ description: "Learn how to configure a GitLab Sync for Infisical." - **Mark secrets as Hidden**: If enabled, synced secrets will be hidden from the GitLab UI. - - **GitLab Group**: The group containing the project. - - **GitLab Project**: The project to deploy secrets to. + - **GitLab Group**: The group to deploy secrets to. - **GitLab Environment Scope**: The environment scope to deploy secrets to (optional, defaults to "*" for all environments). - **Mark secrets as Protected**: If enabled, synced secrets will be marked as protected in GitLab. - **Mark secrets as Masked**: If enabled, synced secrets will be masked in GitLab CI/CD logs. - **Mark secrets as Hidden**: If enabled, synced secrets will be hidden from the GitLab UI. + + Be aware that GitLab only allows to mark secrets as hidden for new secrets. If you try to mark an existing secret as hidden, it produces an error. + 5. Configure the **Sync Options** to specify how secrets should be synced, then click **Next**. ![Configure Options](/images/secret-syncs/gitlab/gitlab-secret-sync-options.png) @@ -102,7 +104,7 @@ description: "Learn how to configure a GitLab Sync for Infisical." "initialSyncBehavior": "overwrite-destination" }, "destinationConfig": { - "scope": "individual", + "scope": "project", "projectId": "70998370", "projectName": "test", "targetEnvironment": "*", @@ -159,7 +161,7 @@ description: "Learn how to configure a GitLab Sync for Infisical." }, "destination": "gitlab", "destinationConfig": { - "scope": "individual", + "scope": "project", "projectId": "70998370", "projectName": "test", "targetEnvironment": "*",