Skip to content

Commit 76b3ca3

Browse files
committedJul 22, 2020
300 stress test script changed to use StoreInKeyVault
1 parent 00a1fa3 commit 76b3ca3

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed
 

‎MetadataDB/Scripts/Testing/01. 300 Worker Pipelines.sql

+6-3
Original file line numberDiff line numberDiff line change
@@ -81,11 +81,14 @@ BEGIN
8181
FROM
8282
[procfwk].[Pipelines];
8383

84+
--use Key Vault SPNs
85+
UPDATE [procfwk].[Properties] SET [PropertyValue] = 'StoreInKeyVault' WHERE [PropertyName] = 'SPNHandlingMethod';
86+
8487
--add SPN for workers
85-
EXEC [procfwk].[AddServicePrincipal]
88+
EXEC [procfwk].[AddServicePrincipalWrapper]
8689
@DataFactory = N'WorkersFactory',
87-
@PrincipalId = '$(AZURE_CLIENT_ID)',
88-
@PrincipalSecret = '$(AZURE_CLIENT_SECRET)',
90+
@PrincipalIdValue = '$(AZURE_CLIENT_ID_URL)',
91+
@PrincipalSecretValue = '$(AZURE_CLIENT_SECRET_URL)',
8992
@PrincipalName = '$(AZURE_CLIENT_NAME)';
9093

9194
END;

0 commit comments

Comments
 (0)
Please sign in to comment.