AzureKeyVaultEmulator.Aspire.Hosting 1.0.0

There is a newer version of this package available.
See the version list below for details.
dotnet add package AzureKeyVaultEmulator.Aspire.Hosting --version 1.0.0
                    
NuGet\Install-Package AzureKeyVaultEmulator.Aspire.Hosting -Version 1.0.0
                    
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="AzureKeyVaultEmulator.Aspire.Hosting" Version="1.0.0" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="AzureKeyVaultEmulator.Aspire.Hosting" Version="1.0.0" />
                    
Directory.Packages.props
<PackageReference Include="AzureKeyVaultEmulator.Aspire.Hosting" />
                    
Project file
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add AzureKeyVaultEmulator.Aspire.Hosting --version 1.0.0
                    
#r "nuget: AzureKeyVaultEmulator.Aspire.Hosting, 1.0.0"
                    
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#addin nuget:?package=AzureKeyVaultEmulator.Aspire.Hosting&version=1.0.0
                    
Install AzureKeyVaultEmulator.Aspire.Hosting as a Cake Addin
#tool nuget:?package=AzureKeyVaultEmulator.Aspire.Hosting&version=1.0.0
                    
Install AzureKeyVaultEmulator.Aspire.Hosting as a Cake Tool

Azure Key Vault Emulator

A fully featured, emulated version of Azure Key Vault product.

.NET Aspire has the ability to create emulated, easily referenced resources in development environments - sadly Key Vault is not one of those. To work with Key Vault in a dev-env you need to have a deployed, real world instance of the resource in an active Azure Subscription; this emulator removes that requirement.

Some API functionality may not be supported while the initial development is ongoing, please refer to the roadmap below to double check if you're attempting a supported operation. The full API will be supported, but if you run into issues beforehand that's likely the reason why.

Roadmap

  • Introduction of the full API for Azure Key Vault:
    • Secrets
    • Keys
    • Certificates
    • Managed HSM
  • Separate NuGet package for introducing an emulated Key Vault into your .NET Aspire projects using a Docker Container.
    • This will be an extension of the existing Aspire.Hosting.Azure.KeyVault package, downloadable as a separate dependency.

Supported Operations

[!CAUTION] This is not a secure space for production secrets, keys or certificates. <br /><br /> Please do not entrust the emulator with real world, high risk items.

Keys

RSA
  • Create Key
  • Get Key
  • Get Key by Version
  • Encrypt
  • Decrypt
  • Supported Algorithms
    • RSA1_5
    • RSA-OAEP

Secrets

  • Set Secret
  • Get Secret
  • Get Secret by Version
  • Delete Secret
  • Backup Secret
  • Get Secret Versions
  • Get Secrets
  • Restore Secret
  • Update Secret
  • Get Deleted Secret
  • Get Deleted Secrets
  • Purge Deleted Secret
  • Recover Deleted Secret
Product 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. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
2.0.0 45 4/22/2025
1.1.0 187 4/16/2025
1.0.7 118 4/13/2025
1.0.6 142 3/27/2025
1.0.5 448 3/26/2025
1.0.4 266 3/26/2025
1.0.0 258 3/23/2025