Make Azure DevOps variables secret

This commit is contained in:
areifert
2024-10-31 13:29:43 -06:00
parent 02b2395276
commit 5f14b27f41
@@ -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) {