Etcd.Microsoft.Extensions.Configuration 2.0.0

.NET 6.0 .NET Standard 2.1
dotnet add package Etcd.Microsoft.Extensions.Configuration --version 2.0.0
NuGet\Install-Package Etcd.Microsoft.Extensions.Configuration -Version 2.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="Etcd.Microsoft.Extensions.Configuration" Version="2.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Etcd.Microsoft.Extensions.Configuration --version 2.0.0
#r "nuget: Etcd.Microsoft.Extensions.Configuration, 2.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Etcd.Microsoft.Extensions.Configuration as a Cake Addin
#addin nuget:?package=Etcd.Microsoft.Extensions.Configuration&version=2.0.0

// Install Etcd.Microsoft.Extensions.Configuration as a Cake Tool
#tool nuget:?package=Etcd.Microsoft.Extensions.Configuration&version=2.0.0


Nuget Version Nuget Download Build Package dependency status for latest release CodeFactor Grade Platform PRs Welcome

Etcd based configuration provider for Microsoft.Extensions.Configuration.

Quick start


 var config = new ConfigurationBuilder()
   new Credentials("MyEtcdUserName", "passw"),
   new EtcdSettings("http://serveraddress:2379"))

 var mySection = config.GetSection("MySection");
 var myKeyValue = mySection["MyKeyName"];


When using HTTPS, *.crt CA certificate (should be provided by etcd administrator) should be placed in well known system certificate store (depending on OS).

  • For Windows it is Trusted Root Certification Authority.
  • For Linux, at least for Arch/Manjaro Linux it should be placed in : /etc/ca-certificates/trust-source/anchors/ followed by sudo trust extract-compat command

HTTPS with settings from local JSON file


    "ConnectionString": "https://serveraddress:2379"
var jsonConfig = new ConfigurationBuilder()

 var config = new ConfigurationBuilder()
  new Credentials("MyEtcdUserName", "passw"),
  new ConfigurationBasedEtcdSettings(jsonConfig))

var mySection = config.GetSection("MySection");
var myKeyValue = mySection["MyKeyName"];

Settings can be mixed from different locations.


There are many ways in which you can participate in the project. Like most open-source software projects, contributing code is just one of many outlets where you can help improve. Some of the things that you could help out with are:

  • Documentation (both code and features)
  • Bug reports
  • Bug fixes
  • Feature requests
  • Feature implementations
  • Test coverage
  • Code quality
  • Sample applications



Product Versions
.NET net5.0 net5.0-windows net6.0 net6.0-android net6.0-ios net6.0-maccatalyst net6.0-macos net6.0-tvos net6.0-windows net7.0 net7.0-android net7.0-ios net7.0-maccatalyst net7.0-macos net7.0-tvos net7.0-windows
.NET Core netcoreapp3.0 netcoreapp3.1
.NET Standard netstandard2.1
MonoAndroid monoandroid
MonoMac monomac
MonoTouch monotouch
Tizen tizen60
Xamarin.iOS xamarinios
Xamarin.Mac xamarinmac
Xamarin.TVOS xamarintvos
Xamarin.WatchOS xamarinwatchos
Compatible target framework(s)
Additional computed target framework(s)
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 168 6/4/2022
1.0.3 242 6/1/2022
1.0.2 159 5/29/2022
1.0.1 298 11/15/2021
1.0.0 268 10/26/2021
1.0.0-pre02 170 10/22/2021
1.0.0-pre01 182 10/22/2021