This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
builder.Configuration.AddAzureKeyVault( | |
new Uri($"https://azurekeyvaultperformance-{builder.Environment.EnvironmentName}.vault.azure.net/"), | |
new DefaultAzureCredential(new DefaultAzureCredentialOptions | |
{ | |
// Which ones you exclude will depend on your situation, listing them all here: | |
// ExcludeEnvironmentCredential = true, | |
// ExcludeInteractiveBrowserCredential = true, | |
// ExcludeAzurePowerShellCredential = true, | |
// ExcludeSharedTokenCacheCredential = true, | |
// ExcludeVisualStudioCodeCredential = true, | |
// ExcludeVisualStudioCredential = true, | |
// ExcludeAzureCliCredential = true, | |
// ExcludeManagedIdentityCredential = true, | |
})); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment