Azure.Provisioning.KeyVault 0.2.0

Prefix Reserved
There is a newer version of this package available.
See the version list below for details.
dotnet add package Azure.Provisioning.KeyVault --version 0.2.0                
NuGet\Install-Package Azure.Provisioning.KeyVault -Version 0.2.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="Azure.Provisioning.KeyVault" Version="0.2.0" />                
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Azure.Provisioning.KeyVault --version 0.2.0                
#r "nuget: Azure.Provisioning.KeyVault, 0.2.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.
// Install Azure.Provisioning.KeyVault as a Cake Addin
#addin nuget:?package=Azure.Provisioning.KeyVault&version=0.2.0

// Install Azure.Provisioning.KeyVault as a Cake Tool
#tool nuget:?package=Azure.Provisioning.KeyVault&version=0.2.0                

Azure Provisioning client library for .NET

Azure.Provisioning.KeyVault simplifies declarative resource provisioning in .NET for Azure Key Vault.

Getting started

Install the package

Install the client library for .NET with NuGet:

dotnet add package Azure.Provisioning.KeyVault

Prerequisites

You must have an Azure subscription.

Authenticate the Client

Key concepts

This library allows you to specify your infrastructure in a declarative style using dotnet. You can then use azd to deploy your infrastructure to Azure diretly without needing to write or maintain bicep or arm templates.

Examples

Here is a simple example which creates a KeyVault.

First create your Infrastructure class.

public class SampleInfrastructure : Infrastructure
{
    public SampleInfrastructure() : base(envName: "Sample", tenantId: Guid.Empty, subscriptionId: Guid.Empty, configuration: new Configuration { UseInteractiveMode = true })
    {
    }
}

Next add your resources into your infrastructure and then Build.

// Create a new infrastructure
var infrastructure = new SampleInfrastructure();

// Add a new key vault
var keyVault = infrastructure.AddKeyVault();

// You can call Build to convert the infrastructure into bicep files.
infrastructure.Build();

Troubleshooting

Next steps

Contributing

For details on contributing to this repository, see the contributing guide.

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.microsoft.com.

When you submit a pull request, a CLA-bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (for example, label, comment). Follow the instructions provided by the bot. You'll only need to do this action once across all repositories using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information, see the Code of Conduct FAQ or contact opencode@microsoft.com with any other questions or comments.

Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  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 was computed.  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. 
.NET Core netcoreapp2.0 was computed.  netcoreapp2.1 was computed.  netcoreapp2.2 was computed.  netcoreapp3.0 was computed.  netcoreapp3.1 was computed. 
.NET Standard netstandard2.0 is compatible.  netstandard2.1 was computed. 
.NET Framework net461 was computed.  net462 was computed.  net463 was computed.  net47 was computed.  net471 was computed.  net472 was computed.  net48 was computed.  net481 was computed. 
MonoAndroid monoandroid was computed. 
MonoMac monomac was computed. 
MonoTouch monotouch was computed. 
Tizen tizen40 was computed.  tizen60 was computed. 
Xamarin.iOS xamarinios was computed. 
Xamarin.Mac xamarinmac was computed. 
Xamarin.TVOS xamarintvos was computed. 
Xamarin.WatchOS xamarinwatchos was computed. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

NuGet packages (19)

Showing the top 5 NuGet packages that depend on Azure.Provisioning.KeyVault:

Package Downloads
Aspire.Hosting.Azure

Azure resource types for .NET Aspire.

Aspire.Hosting.Azure.Storage

Azure Storage resource types for .NET Aspire.

Aspire.Hosting.Azure.CognitiveServices

Azure OpenAI resource types for .NET Aspire.

Aspire.Hosting.Azure.OperationalInsights

Azure Log Anlytics resource types for .NET Aspire.

Aspire.Hosting.Azure.ApplicationInsights

Azure Application Insights resource types for .NET Aspire.

GitHub repositories (3)

Showing the top 3 popular GitHub repositories that depend on Azure.Provisioning.KeyVault:

Repository Stars
Azure/azure-sdk-for-net
This repository is for active development of the Azure SDK for .NET. For consumers of the SDK we recommend visiting our public developer docs at https://learn.microsoft.com/dotnet/azure/ or our versioned developer docs at https://azure.github.io/azure-sdk-for-net.
dotnet/aspire
Tools, templates, and packages to accelerate building observable, production-ready apps
dotnet/dotnet
Home of .NET's Virtual Monolithic Repository which includes all the code needed to build the .NET SDK from source
Version Downloads Last updated
1.0.0 63,290 10/25/2024
1.0.0-beta.1 11,181 10/5/2024
0.2.0 152,594 5/16/2024
0.1.0 50,394 4/27/2024
0.1.0-beta.1 9,620 4/5/2024