Cogito.Azure.KeyVault
1.0.9
dotnet add package Cogito.Azure.KeyVault --version 1.0.9
NuGet\Install-Package Cogito.Azure.KeyVault -Version 1.0.9
<PackageReference Include="Cogito.Azure.KeyVault" Version="1.0.9" />
<PackageVersion Include="Cogito.Azure.KeyVault" Version="1.0.9" />
<PackageReference Include="Cogito.Azure.KeyVault" />
paket add Cogito.Azure.KeyVault --version 1.0.9
#r "nuget: Cogito.Azure.KeyVault, 1.0.9"
#:package Cogito.Azure.KeyVault@1.0.9
#addin nuget:?package=Cogito.Azure.KeyVault&version=1.0.9
#tool nuget:?package=Cogito.Azure.KeyVault&version=1.0.9
Cogito.Azure.KeyVault
Configured client factories for Azure Key Vault, and an X.509 certificate provider that loads from a vault.
Why
Each Key Vault client needs a vault URI and a credential. Constructing them at each call site spreads that configuration through the application and makes the credential hard to change.
Install
dotnet add package Cogito.Azure.KeyVault
Use
var secrets = secretClientFactory.Create();
var secret = await secrets.GetSecretAsync("connection-string");
SecretClientFactory, KeyClientFactory and CertificateClientFactory each build a client from
KeyVaultOptions and the ambient credential. IKeyVaultTokenCredentialProvider is the seam for
supplying that credential; the default uses the one from Cogito.Azure.Identity.
KeyVaultX509Certificate2Provider loads a certificate — private key included — straight out of the
vault, for code that wants an X509Certificate2 rather than a vault reference.
License
MIT.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. 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. |
| .NET Framework | net472 is compatible. net48 was computed. net481 was computed. |
-
.NETFramework 4.7.2
- Azure.Security.KeyVault.Certificates (>= 4.9.1)
- Azure.Security.KeyVault.Keys (>= 4.10.1)
- Azure.Security.KeyVault.Secrets (>= 4.11.1)
- AzureKeyVaultEmulator.Client (>= 3.1.3)
- Cogito.Azure.Identity (>= 2.0.5)
- Microsoft.Extensions.Caching.Memory (>= 10.0.12)
-
net6.0
- Azure.Security.KeyVault.Certificates (>= 4.9.1)
- Azure.Security.KeyVault.Keys (>= 4.10.1)
- Azure.Security.KeyVault.Secrets (>= 4.11.1)
- AzureKeyVaultEmulator.Client (>= 3.1.3)
- Cogito.Azure.Identity (>= 2.0.5)
- Microsoft.Extensions.Caching.Memory (>= 10.0.12)
-
net8.0
- Azure.Security.KeyVault.Certificates (>= 4.9.1)
- Azure.Security.KeyVault.Keys (>= 4.10.1)
- Azure.Security.KeyVault.Secrets (>= 4.11.1)
- AzureKeyVaultEmulator.Client (>= 3.1.3)
- Cogito.Azure.Identity (>= 2.0.5)
- Microsoft.Extensions.Caching.Memory (>= 10.0.12)
NuGet packages (2)
Showing the top 2 NuGet packages that depend on Cogito.Azure.KeyVault:
| Package | Downloads |
|---|---|
|
Cogito.Azure.KeyVault.Autofac
Additional components for managing Azure Key Vaults. |
|
|
Cogito.Azure.KeyVault.DataProtection
Package Description |
GitHub repositories
This package is not used by any popular GitHub repositories.
| Version | Downloads | Last Updated |
|---|---|---|
| 1.0.9 | 68 | 11/28/2026 |
| 1.0.8 | 196 | 9/14/2026 |
| 1.0.7 | 162 | 9/14/2026 |
| 1.0.6 | 211 | 9/10/2026 |
| 1.0.5 | 3,700 | 11/22/2025 |
| 1.0.4 | 264 | 11/22/2025 |
| 1.0.3 | 584 | 11/17/2025 |
| 1.0.2 | 508 | 9/5/2025 |
| 1.0.1 | 242 | 9/5/2025 |
| 0.1.22 | 7,777 | 1/28/2022 |
| 0.1.20 | 2,409 | 8/24/2021 |
| 0.1.19 | 1,186 | 8/24/2021 |
| 0.1.14 | 1,860 | 11/25/2020 |
| 0.0.24 | 616 | 11/29/2023 |