mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-07 11:27:32 +00:00
feat(secret-sync): fix update masked_and_hidden field to not be sent unless it's true
This commit is contained in:
@@ -156,7 +156,7 @@ const createGitLabVariable = async ({
|
|||||||
protected: payload.protected,
|
protected: payload.protected,
|
||||||
masked: payload.masked,
|
masked: payload.masked,
|
||||||
// @ts-expect-error type
|
// @ts-expect-error type
|
||||||
masked_and_hidden: payload.masked_and_hidden,
|
...(payload.masked_and_hidden && { masked_and_hidden: payload.masked_and_hidden }),
|
||||||
raw: false
|
raw: false
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -44,8 +44,8 @@ Infisical supports two methods for connecting to GitLab: **OAuth** and **Access
|
|||||||
|
|
||||||
Back in your Infisical instance, add two new environment variables for the credentials of your GitLab OAuth application:
|
Back in your Infisical instance, add two new environment variables for the credentials of your GitLab OAuth application:
|
||||||
|
|
||||||
- `CLIENT_ID_GITLAB`: The **Application ID** of your GitLab OAuth application.
|
- `INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_ID`: The **Application ID** of your GitLab OAuth application.
|
||||||
- `CLIENT_SECRET_GITLAB`: The **Secret** of your GitLab OAuth application.
|
- `INF_APP_CONNECTION_GITLAB_OAUTH_CLIENT_SECRET`: The **Secret** of your GitLab OAuth application.
|
||||||
|
|
||||||
Once added, restart your Infisical instance and use the GitLab Connection.
|
Once added, restart your Infisical instance and use the GitLab Connection.
|
||||||
</Step>
|
</Step>
|
||||||
|
|||||||
Reference in New Issue
Block a user