4 instantiations of AzureSecurityKeyVaultSettings
Aspire.Azure.Security.KeyVault (1)
AspireKeyVaultExtensions.cs (1)
96
var settings = new
AzureSecurityKeyVaultSettings
();
Aspire.Azure.Security.KeyVault.Tests (3)
ConfigurationTests.cs (3)
12
=> Assert.Null(new
AzureSecurityKeyVaultSettings
().VaultUri);
16
=> Assert.False(new
AzureSecurityKeyVaultSettings
().DisableHealthChecks);
20
=> Assert.False(new
AzureSecurityKeyVaultSettings
().DisableTracing);
25 references to AzureSecurityKeyVaultSettings
Aspire.Azure.Security.KeyVault (19)
AspireKeyVaultExtensions.cs (18)
32
/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="
AzureSecurityKeyVaultSettings
"/>. It's invoked after the settings are read from the configuration.</param>
35
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="
AzureSecurityKeyVaultSettings
.VaultUri"/> is not provided.</exception>
39
Action<
AzureSecurityKeyVaultSettings
>? configureSettings = null,
51
/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="
AzureSecurityKeyVaultSettings
"/>. It's invoked after the settings are read from the configuration.</param>
54
/// <exception cref="InvalidOperationException">Thrown when mandatory <see cref="
AzureSecurityKeyVaultSettings
.VaultUri"/> is not provided.</exception>
58
Action<
AzureSecurityKeyVaultSettings
>? configureSettings = null,
71
/// <param name="configureSettings">An optional method that can be used for customizing the <see cref="
AzureSecurityKeyVaultSettings
"/>. It's invoked after the settings are read from the configuration.</param>
77
Action<
AzureSecurityKeyVaultSettings
>? configureSettings = null,
91
Action<
AzureSecurityKeyVaultSettings
>? configureSettings,
96
var
settings = new AzureSecurityKeyVaultSettings();
118
private sealed class KeyVaultComponent : AzureComponent<
AzureSecurityKeyVaultSettings
, SecretClient, SecretClientOptions>
121
AzureClientFactoryBuilder azureFactoryBuilder,
AzureSecurityKeyVaultSettings
settings,
135
protected override IHealthCheck CreateHealthCheck(SecretClient client,
AzureSecurityKeyVaultSettings
settings)
145
protected override void BindSettingsToConfiguration(
AzureSecurityKeyVaultSettings
settings, IConfiguration configuration)
150
protected override bool GetHealthCheckEnabled(
AzureSecurityKeyVaultSettings
settings)
153
protected override TokenCredential? GetTokenCredential(
AzureSecurityKeyVaultSettings
settings)
156
protected override bool GetMetricsEnabled(
AzureSecurityKeyVaultSettings
settings)
159
protected override bool GetTracingEnabled(
AzureSecurityKeyVaultSettings
settings)
AssemblyInfo.cs (1)
8
[assembly: ConfigurationSchema("Aspire:Azure:Security:KeyVault", typeof(
AzureSecurityKeyVaultSettings
))]
Aspire.Azure.Security.KeyVault.Tests (6)
ConformanceTests.cs (6)
15
public class ConformanceTests : ConformanceTests<SecretClient,
AzureSecurityKeyVaultSettings
>
70
protected override void RegisterComponent(HostApplicationBuilder builder, Action<
AzureSecurityKeyVaultSettings
>? configure = null, string? key = null)
81
void ConfigureCredentials(
AzureSecurityKeyVaultSettings
settings)
91
protected override void SetHealthCheck(
AzureSecurityKeyVaultSettings
options, bool enabled)
96
protected override void SetMetrics(
AzureSecurityKeyVaultSettings
options, bool enabled)
99
protected override void SetTracing(
AzureSecurityKeyVaultSettings
options, bool enabled)