{"id":19370548,"url":"https://github.com/simplifynet/etcd.microsoft.extensions.configuration","last_synced_at":"2026-03-15T20:39:09.421Z","repository":{"id":64111504,"uuid":"419566418","full_name":"SimplifyNet/Etcd.Microsoft.Extensions.Configuration","owner":"SimplifyNet","description":"Etcd based configuration provider for Microsoft.Extensions.Configuration","archived":false,"fork":false,"pushed_at":"2025-04-15T17:32:29.000Z","size":127,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-15T18:40:03.140Z","etag":null,"topics":["c-sharp","c-sharp-library","dotnet","etcd"],"latest_commit_sha":null,"homepage":"","language":"C#","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/SimplifyNet.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2021-10-21T03:19:34.000Z","updated_at":"2024-12-14T15:36:48.000Z","dependencies_parsed_at":"2025-01-19T10:25:13.920Z","dependency_job_id":"5f305303-6a9f-42f9-b4b8-c1b32c9f42a5","html_url":"https://github.com/SimplifyNet/Etcd.Microsoft.Extensions.Configuration","commit_stats":null,"previous_names":[],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplifyNet%2FEtcd.Microsoft.Extensions.Configuration","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplifyNet%2FEtcd.Microsoft.Extensions.Configuration/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplifyNet%2FEtcd.Microsoft.Extensions.Configuration/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/SimplifyNet%2FEtcd.Microsoft.Extensions.Configuration/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/SimplifyNet","download_url":"https://codeload.github.com/SimplifyNet/Etcd.Microsoft.Extensions.Configuration/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250460631,"owners_count":21434270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c-sharp","c-sharp-library","dotnet","etcd"],"created_at":"2024-11-10T08:15:54.648Z","updated_at":"2026-03-15T20:39:09.370Z","avatar_url":"https://github.com/SimplifyNet.png","language":"C#","readme":"# Etcd.Microsoft.Extensions.Configuration\n\n[![Nuget Version](https://img.shields.io/nuget/v/Etcd.Microsoft.Extensions.Configuration)](https://www.nuget.org/packages/Etcd.Microsoft.Extensions.Configuration/)\n[![Nuget Download](https://img.shields.io/nuget/dt/Etcd.Microsoft.Extensions.Configuration)](https://www.nuget.org/packages/Etcd.Microsoft.Extensions.Configuration/)\n[![Build Package](https://github.com/SimplifyNet/Etcd.Microsoft.Extensions.Configuration/actions/workflows/build.yml/badge.svg)](https://github.com/SimplifyNet/Etcd.Microsoft.Extensions.Configuration/actions/workflows/build.yml)\n[![Libraries.io dependency status for latest release](https://img.shields.io/librariesio/release/nuget/Etcd.Microsoft.Extensions.Configuration)](https://libraries.io/nuget/Etcd.Microsoft.Extensions.Configuration)\n[![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/SimplifyNet/Etcd.Microsoft.Extensions.Configuration)](https://www.codefactor.io/repository/github/simplifynet/Etcd.Microsoft.Extensions.Configuration)\n![Platform](https://img.shields.io/badge/platform-.NET%206.0%20%7C%20.NET%20Standard%202.1-lightgrey)\n[![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen)](http://makeapullrequest.com)\n\nEtcd based configuration provider for Microsoft.Extensions.Configuration.\n\n\u003e Keep in mind that starting from v2 it will work only under Windows 10 or Windows Server 2016 (or later) because of internal Grpc client uses HTTP/2 protocol for communication (\u003chttps://docs.microsoft.com/en-us/answers/questions/310032/2012-r2-net-core-http2.html\u003e).\n\n## Quick start\n\n### HTTP\n\n```csharp\n var config = new ConfigurationBuilder()\n  .AddEtcd(\n   new Credentials(\"MyEtcdUserName\", \"passw\"),\n   new EtcdSettings(\"http://serveraddress:2379\"))\n  .Build();\n\n var mySection = config.GetSection(\"MySection\");\n var myKeyValue = mySection[\"MyKeyName\"];\n```\n\n### HTTPS\n\nWhen using HTTPS, *.crt CA certificate (should be provided by etcd administrator) should be placed in well known system certificate store (depending on OS).\n\n* For Windows it is `Trusted Root Certification Authority`.\n* 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\n\n### HTTPS with settings from local JSON file\n\nappsettings.json\n\n```json\n{\n  \"EtcdSettings\":\n  {\n    \"ConnectionString\": \"https://serveraddress:2379\"\n  }\n}\n```\n\n```csharp\nvar jsonConfig = new ConfigurationBuilder()\n .AddJsonFile(\"appsettings.json\")\n .Build();\n\n var config = new ConfigurationBuilder()\n .AddEtcd(\n  new Credentials(\"MyEtcdUserName\", \"passw\"),\n  new ConfigurationBasedEtcdSettings(jsonConfig))\n .Build();\n\nvar mySection = config.GetSection(\"MySection\");\nvar myKeyValue = mySection[\"MyKeyName\"];\n```\n\nSettings can be mixed from different locations.\n\n## Contributing\n\nThere 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:\n\n* Documentation (both code and features)\n* Bug reports\n* Bug fixes\n* Feature requests\n* Feature implementations\n* Test coverage\n* Code quality\n* Sample applications\n\n## License\n\nLicensed under the GNU LESSER GENERAL PUBLIC LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplifynet%2Fetcd.microsoft.extensions.configuration","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsimplifynet%2Fetcd.microsoft.extensions.configuration","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsimplifynet%2Fetcd.microsoft.extensions.configuration/lists"}