Relative Content

Tag Archive for c#c#-9.0dotnet-aspire

Aspire KeyVault configuration provider and AddAzureKeyVaultSecrets

There should be a way of using the configuration providers, Microsoft.Extensions.Configuration, to set up the KeyVault URI but the documentation is vague and has no examples. The method alluded to, AddAzureKeyVaultSecrets, has no parameterless overloads so the documentation doesn’t make sense to me when it says:

Aspire KeyVault configuration provider and AddAzureKeyVaultSecrets

There should be a way of using the configuration providers, Microsoft.Extensions.Configuration, to set up the KeyVault URI but the documentation is vague and has no examples. The method alluded to, AddAzureKeyVaultSecrets, has no parameterless overloads so the documentation doesn’t make sense to me when it says: