mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-10-04 09:26:14 +00:00
Merge pull request #2673 from areifert/misc/make-azure-devops-variables-secret
Make synced Azure DevOps variables secret
This commit is contained in:
@@ -2540,9 +2540,9 @@ const syncSecretsAzureDevops = async ({
|
|||||||
|
|
||||||
const { groupId, groupName } = await getEnvGroupId(integration.app, integration.appId, integration.environment.name);
|
const { groupId, groupName } = await getEnvGroupId(integration.app, integration.appId, integration.environment.name);
|
||||||
|
|
||||||
const variables: Record<string, { value: string }> = {};
|
const variables: Record<string, { value: string, isSecret: boolean }> = {};
|
||||||
for (const key of Object.keys(secrets)) {
|
for (const key of Object.keys(secrets)) {
|
||||||
variables[key] = { value: secrets[key].value };
|
variables[key] = { value: secrets[key].value, isSecret: true };
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!groupId) {
|
if (!groupId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user