mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-08 05:27:52 +00:00
feat(secret-sync): updated docs
This commit is contained in:
Binary file not shown.
|
Before Width: | Height: | Size: 606 KiB After Width: | Height: | Size: 208 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 636 KiB After Width: | Height: | Size: 202 KiB |
@@ -172,7 +172,7 @@ Infisical supports two methods for connecting to GitLab: **OAuth** and **Access
|
|||||||

|

|
||||||
</Step>
|
</Step>
|
||||||
<Step title="Configure Access Token">
|
<Step title="Configure Access Token">
|
||||||
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.
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
|||||||
@@ -30,13 +30,13 @@ description: "Learn how to configure a GitLab Sync for Infisical."
|
|||||||

|

|
||||||
|
|
||||||
- **GitLab Connection**: The GitLab Connection to authenticate with.
|
- **GitLab Connection**: The GitLab Connection to authenticate with.
|
||||||
- **Scope**: The GitLab secret scope to sync secrets to.
|
- **Scope**: The GitLab scope to sync secrets to.
|
||||||
- **Individual**: Sync secrets to a specific project.
|
- **Project**: Sync secrets to a GitLab project.
|
||||||
- **Group**: Sync secrets to a project within a group.
|
- **Group**: Sync secrets to a GitLab group.
|
||||||
<p class="height:1px" />
|
<p class="height:1px" />
|
||||||
The remaining fields are determined by the selected **Scope**:
|
The remaining fields are determined by the selected **Scope**:
|
||||||
<AccordionGroup>
|
<AccordionGroup>
|
||||||
<Accordion title="Individual">
|
<Accordion title="Project">
|
||||||
- **GitLab Project**: The project to deploy secrets to.
|
- **GitLab Project**: The project to deploy secrets to.
|
||||||
- **GitLab Environment Scope**: The environment scope to deploy secrets to (optional, defaults to "*" for all environments).
|
- **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 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.
|
- **Mark secrets as Hidden**: If enabled, synced secrets will be hidden from the GitLab UI.
|
||||||
</Accordion>
|
</Accordion>
|
||||||
<Accordion title="Group">
|
<Accordion title="Group">
|
||||||
- **GitLab Group**: The group containing the project.
|
- **GitLab Group**: The group to deploy secrets to.
|
||||||
- **GitLab Project**: The project to deploy secrets to.
|
|
||||||
- **GitLab Environment Scope**: The environment scope to deploy secrets to (optional, defaults to "*" for all environments).
|
- **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 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 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.
|
- **Mark secrets as Hidden**: If enabled, synced secrets will be hidden from the GitLab UI.
|
||||||
</Accordion>
|
</Accordion>
|
||||||
</AccordionGroup>
|
</AccordionGroup>
|
||||||
|
<Note>
|
||||||
|
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.
|
||||||
|
</Note>
|
||||||
|
|
||||||
5. Configure the **Sync Options** to specify how secrets should be synced, then click **Next**.
|
5. Configure the **Sync Options** to specify how secrets should be synced, then click **Next**.
|
||||||

|

|
||||||
@@ -102,7 +104,7 @@ description: "Learn how to configure a GitLab Sync for Infisical."
|
|||||||
"initialSyncBehavior": "overwrite-destination"
|
"initialSyncBehavior": "overwrite-destination"
|
||||||
},
|
},
|
||||||
"destinationConfig": {
|
"destinationConfig": {
|
||||||
"scope": "individual",
|
"scope": "project",
|
||||||
"projectId": "70998370",
|
"projectId": "70998370",
|
||||||
"projectName": "test",
|
"projectName": "test",
|
||||||
"targetEnvironment": "*",
|
"targetEnvironment": "*",
|
||||||
@@ -159,7 +161,7 @@ description: "Learn how to configure a GitLab Sync for Infisical."
|
|||||||
},
|
},
|
||||||
"destination": "gitlab",
|
"destination": "gitlab",
|
||||||
"destinationConfig": {
|
"destinationConfig": {
|
||||||
"scope": "individual",
|
"scope": "project",
|
||||||
"projectId": "70998370",
|
"projectId": "70998370",
|
||||||
"projectName": "test",
|
"projectName": "test",
|
||||||
"targetEnvironment": "*",
|
"targetEnvironment": "*",
|
||||||
|
|||||||
Reference in New Issue
Block a user