RestApia.Extensions.ValuesProvider.AzureKeyVault
1.1.10
dotnet add package RestApia.Extensions.ValuesProvider.AzureKeyVault --version 1.1.10
NuGet\Install-Package RestApia.Extensions.ValuesProvider.AzureKeyVault -Version 1.1.10
<PackageReference Include="RestApia.Extensions.ValuesProvider.AzureKeyVault" Version="1.1.10" />
<PackageVersion Include="RestApia.Extensions.ValuesProvider.AzureKeyVault" Version="1.1.10" />
<PackageReference Include="RestApia.Extensions.ValuesProvider.AzureKeyVault" />
paket add RestApia.Extensions.ValuesProvider.AzureKeyVault --version 1.1.10
#r "nuget: RestApia.Extensions.ValuesProvider.AzureKeyVault, 1.1.10"
#:package RestApia.Extensions.ValuesProvider.AzureKeyVault@1.1.10
#addin nuget:?package=RestApia.Extensions.ValuesProvider.AzureKeyVault&version=1.1.10
#tool nuget:?package=RestApia.Extensions.ValuesProvider.AzureKeyVault&version=1.1.10
Azure Key Vault Secrets Value Provider
What is this extension?
This extension is designed to securely and conveniently use secrets (such as passwords, API keys, or connection strings) stored in your Azure Key Vault directly within your RestApia API requests.
Why is this useful?
- Enhanced Security: Avoid hardcoding sensitive information directly into your API requests. Instead, retrieve them securely from Azure Key Vault.
- Simplified Management: Centrally manage your secrets in Azure Key Vault, eliminating the need to update them across multiple locations.
How does it work?
Imagine you have an API request that requires sensitive values that cannot be safely stored within your RestApia collection. You can utilize an Azure Key Vault secret as a templated variable, which can be used in headers, query arguments, or for configuring authorization.
- The extension retrieves the secret from your Azure Key Vault.
- All retrieved values are cached securely as encrypted data on your local machine, improving performance for subsequent requests.
- Authentication: The extension uses the DefaultAzureCredential for seamless authentication with Azure. This supports various authentication methods, including environment variables, managed identities, Azure CLI, Visual Studio, and more, automatically selecting the appropriate method based on your environment.
What do you need?
- An active Azure subscription with an Azure Key Vault where your secrets are stored.
- Appropriate permissions for your Azure account to access those secrets.
- The RestApia application.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- Azure.Identity (>= 1.13.0)
- Azure.Security.KeyVault.Secrets (>= 4.7.0)
- Microsoft.Extensions.DependencyInjection.Abstractions (>= 8.0.2)
- RestApia.Shared (>= 1.1.10)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.