3 writes to VaultUri
Aspire.Azure.Security.KeyVault (1)
AzureSecurityKeyVaultSettings.cs (1)
48
VaultUri
= uri;
Aspire.Azure.Security.KeyVault.Tests (2)
AspireKeyVaultExtensionsTests.cs (2)
31
builder.AddKeyedAzureKeyVaultClient("secrets", settings => settings.
VaultUri
= vaultUri);
35
builder.AddAzureKeyVaultClient("secrets", settings => settings.
VaultUri
= vaultUri);
7 references to VaultUri
Aspire.Azure.Security.KeyVault (6)
AspireKeyVaultExtensions.cs (6)
35
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="AzureSecurityKeyVaultSettings.
VaultUri
"/> is not provided.</exception>
54
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="AzureSecurityKeyVaultSettings.
VaultUri
"/> is not provided.</exception>
110
if (settings.
VaultUri
is null)
115
return new SecretClient(settings.
VaultUri
, settings.Credential ?? new DefaultAzureCredential(), clientOptions);
126
if (settings.
VaultUri
is null)
131
return new SecretClient(settings.
VaultUri
, cred, options);
Aspire.Azure.Security.KeyVault.Tests (1)
ConfigurationTests.cs (1)
12
=> Assert.Null(new AzureSecurityKeyVaultSettings().
VaultUri
);