Skip to content
This repository was archived by the owner on Aug 3, 2024. It is now read-only.

Commit b49d547

Browse files
agrerdembayar
authored andcommitted
Build fix
1 parent e382ab8 commit b49d547

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

tools/AzureSqlConnectionTest/TestApplication.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ public class TestApplication : CommandLineApplication
1818

1919
public CommandOption KeyVaultName { get; }
2020

21+
public CommandOption KeyVaultTenantId { get; }
22+
2123
public CommandOption KeyVaultClientId { get; }
2224

2325
public CommandOption KeyVaultCertificateThumbprint { get; }
@@ -41,6 +43,7 @@ public TestApplication()
4143
Help = HelpOption("-? | -h | --help");
4244

4345
KeyVaultName = Option("-kv | --keyVaultName", "KeyVault name", CommandOptionType.SingleValue);
46+
KeyVaultTenantId = Option("-kvtid | --keyVaultTenantId", "KeyVault tenant id", CommandOptionType.SingleValue);
4447
KeyVaultClientId = Option("-kvcid | --keyVaultClientId", "KeyVault client id", CommandOptionType.SingleValue);
4548
KeyVaultCertificateThumbprint = Option("-kvct | --keyVaultCertThumbprint", "KeyVault certificate thumbprint", CommandOptionType.SingleValue);
4649

@@ -81,6 +84,7 @@ public async Task<int> ExecuteAsync()
8184
{
8285
var keyVaultConfig = new KeyVaultConfiguration(
8386
KeyVaultName.Value(),
87+
KeyVaultTenantId.Value(),
8488
KeyVaultClientId.Value(),
8589
kvCertificate);
8690

0 commit comments

Comments
 (0)