Skip to content

Commit

Permalink
300 stress test script changed to use StoreInKeyVault
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpaulandrew committed Jul 22, 2020
1 parent 00a1fa3 commit 76b3ca3
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions MetadataDB/Scripts/Testing/01. 300 Worker Pipelines.sql
Original file line number Diff line number Diff line change
Expand Up @@ -81,11 +81,14 @@ BEGIN
FROM
[procfwk].[Pipelines];

--use Key Vault SPNs
UPDATE [procfwk].[Properties] SET [PropertyValue] = 'StoreInKeyVault' WHERE [PropertyName] = 'SPNHandlingMethod';

--add SPN for workers
EXEC [procfwk].[AddServicePrincipal]
EXEC [procfwk].[AddServicePrincipalWrapper]
@DataFactory = N'WorkersFactory',
@PrincipalId = '$(AZURE_CLIENT_ID)',
@PrincipalSecret = '$(AZURE_CLIENT_SECRET)',
@PrincipalIdValue = '$(AZURE_CLIENT_ID_URL)',
@PrincipalSecretValue = '$(AZURE_CLIENT_SECRET_URL)',
@PrincipalName = '$(AZURE_CLIENT_NAME)';

END;

0 comments on commit 76b3ca3

Please sign in to comment.