Microsoft.Extensions.Configuration.UserSecrets 9.0.10

Prefix Reserved
There is a newer prerelease version of this package available.
See the version list below for details.
dotnet add package Microsoft.Extensions.Configuration.UserSecrets --version 9.0.10
                    
NuGet\Install-Package Microsoft.Extensions.Configuration.UserSecrets -Version 9.0.10
                    
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="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.10" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="9.0.10" />
                    
Directory.Packages.props
<PackageReference Include="Microsoft.Extensions.Configuration.UserSecrets" />
                    
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 Microsoft.Extensions.Configuration.UserSecrets --version 9.0.10
                    
#r "nuget: Microsoft.Extensions.Configuration.UserSecrets, 9.0.10"
                    
#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.
#:package Microsoft.Extensions.Configuration.UserSecrets@9.0.10
                    
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Microsoft.Extensions.Configuration.UserSecrets&version=9.0.10
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Configuration.UserSecrets&version=9.0.10
                    
Install as a Cake Tool

About

User secrets configuration provider implementation for Microsoft.Extensions.Configuration. User secrets mechanism enables you to override application configuration settings with values stored in the local secrets file. You can use UserSecretsConfigurationExtensions.AddUserSecrets extension method on IConfigurationBuilder to add user secrets provider to the configuration builder.

Additional Documentation

Feedback & Contributing

Microsoft.Extensions.Configuration.UserSecrets is released as open source under the MIT license. Bug reports and contributions are welcome at the GitHub repository.

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 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 is compatible.  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 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 is compatible.  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 (552)

Showing the top 5 NuGet packages that depend on Microsoft.Extensions.Configuration.UserSecrets:

Package Downloads
Microsoft.Extensions.Hosting

Hosting and startup infrastructures for applications.

Microsoft.AspNetCore

Microsoft.AspNetCore

Microsoft.AspNetCore.App

Provides a default set of APIs for building an ASP.NET Core application. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

Volo.Abp.Core

Package Description

Microsoft.AspNetCore.All

Provides a default set of APIs for building an ASP.NET Core application, and also includes API for third-party integrations with ASP.NET Core. This package requires the ASP.NET Core runtime. This runtime is installed by the .NET Core SDK, or can be acquired separately using installers available at https://aka.ms/dotnet-download.

GitHub repositories (173)

Showing the top 20 popular GitHub repositories that depend on Microsoft.Extensions.Configuration.UserSecrets:

Repository Stars
microsoft/semantic-kernel
Integrate cutting-edge LLM technology quickly and easily into your apps
bitwarden/server
Bitwarden infrastructure/backend (API, database, Docker, etc).
abpframework/abp
Open-source web application framework for ASP.NET Core! Offers an opinionated architecture to build enterprise software solutions with best practices on top of the .NET. Provides the fundamental infrastructure, cross-cutting-concern implementations, startup templates, application modules, UI themes, tooling and documentation.
dotnet/AspNetCore.Docs
Documentation for ASP.NET Core
chocolatey/choco
Chocolatey - the package manager for Windows
mRemoteNG/mRemoteNG
mRemoteNG is the next generation of mRemote, open source, tabbed, multi-protocol, remote connections manager.
Tyrrrz/DiscordChatExporter
Saves Discord chat logs to a file
JeffreySu/WeiXinMPSDK
微信全平台 .NET SDK, Senparc.Weixin for C#,支持 .NET Framework 及 .NET Core、.NET 10.0。已支持微信公众号、小程序、小游戏、微信支付、企业微信/企业号、开放平台、JSSDK、微信周边等全平台。 WeChat SDK for C#.
RayWangQvQ/BiliBiliToolPro
B 站(bilibili)自动任务工具,支持docker、青龙、k8s等多种部署方式。敏感肌也能用。
louthy/language-ext
C# pure functional programming framework - come and get declarative!
ant-design-blazor/ant-design-blazor
🌈A rich set of enterprise-class UI components based on Ant Design and Blazor.
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.
ServiceStack/ServiceStack
Thoughtfully architected, obscenely fast, thoroughly enjoyable web services for all
microsoft/agent-framework
A framework for building, orchestrating and deploying AI agents and multi-agent workflows with support for Python and .NET.
ravendb/ravendb
ACID Document Database
Dotnet-Boxed/Templates
.NET project templates with batteries included, providing the minimum amount of code required to get you going faster.
fluentmigrator/fluentmigrator
Fluent migrations framework for .NET
dotnet/extensions
This repository contains a suite of libraries that provide facilities commonly needed when creating production-ready applications.
kgrzybek/sample-dotnet-core-cqrs-api
Sample .NET Core REST API CQRS implementation with raw SQL and DDD using Clean Architecture.
betalgo/openai
.NET library for the OpenAI service API by Betalgo Ranul
Version Downloads Last Updated
10.0.0-rc.2.25502.107 65,510 10/14/2025
10.0.0-rc.1.25451.107 128,190 9/9/2025
10.0.0-preview.7.25380.108 39,703 8/12/2025
10.0.0-preview.6.25358.103 47,255 7/15/2025
10.0.0-preview.5.25277.114 37,010 6/6/2025
10.0.0-preview.4.25258.110 26,595 5/12/2025
10.0.0-preview.3.25171.5 57,600 4/10/2025
10.0.0-preview.2.25163.2 26,339 3/18/2025
10.0.0-preview.1.25080.5 58,723 2/25/2025
9.0.10 1,733,964 10/14/2025
9.0.9 4,532,333 9/9/2025
9.0.8 5,327,670 8/4/2025
9.0.7 4,650,480 7/8/2025
9.0.6 5,262,460 6/10/2025
9.0.5 6,613,107 5/13/2025
9.0.4 10,102,588 4/8/2025
9.0.3 6,207,864 3/11/2025
9.0.2 7,084,629 2/11/2025
9.0.1 6,625,879 1/14/2025
9.0.0 21,318,575 11/12/2024
9.0.0-rc.2.24473.5 137,282 10/8/2024
9.0.0-rc.1.24431.7 84,069 9/10/2024
9.0.0-preview.7.24405.7 50,409 8/13/2024
9.0.0-preview.6.24327.7 49,823 7/9/2024
9.0.0-preview.5.24306.7 40,667 6/11/2024
9.0.0-preview.4.24266.19 36,306 5/21/2024
9.0.0-preview.3.24172.9 121,566 4/11/2024
9.0.0-preview.2.24128.5 41,869 3/12/2024
9.0.0-preview.1.24080.9 60,229 2/13/2024
8.0.1 77,094,690 10/8/2024
8.0.0 141,385,673 11/14/2023
8.0.0-rc.2.23479.6 160,859 10/10/2023
8.0.0-rc.1.23419.4 134,137 9/12/2023
8.0.0-preview.7.23375.6 60,447 8/8/2023
8.0.0-preview.6.23329.7 78,115 7/11/2023
8.0.0-preview.5.23280.8 67,364 6/13/2023
8.0.0-preview.4.23259.5 315,001 5/16/2023
8.0.0-preview.3.23174.8 118,574 4/11/2023
8.0.0-preview.2.23128.3 37,947 3/14/2023
8.0.0-preview.1.23110.8 112,108 2/21/2023
7.0.0 92,482,673 11/7/2022
7.0.0-rc.2.22472.3 155,162 10/11/2022
7.0.0-rc.1.22426.10 84,524 9/14/2022
7.0.0-preview.7.22375.6 62,867 8/9/2022
7.0.0-preview.6.22324.4 53,026 7/12/2022
7.0.0-preview.5.22301.12 45,790 6/14/2022
7.0.0-preview.4.22229.4 44,961 5/10/2022
7.0.0-preview.3.22175.4 52,032 4/13/2022
7.0.0-preview.2.22152.2 23,328 3/14/2022
7.0.0-preview.1.22076.8 26,054 2/17/2022
6.0.2 143,024 11/12/2024
6.0.1 166,378,805 2/8/2022
6.0.0 72,738,035 11/8/2021
6.0.0-rc.2.21480.5 457,451 10/12/2021
6.0.0-rc.1.21451.13 282,144 9/14/2021
6.0.0-preview.7.21377.19 133,713 8/10/2021
6.0.0-preview.6.21352.12 46,237 7/14/2021
6.0.0-preview.5.21301.5 30,660 6/15/2021
6.0.0-preview.4.21253.7 38,741 5/24/2021
6.0.0-preview.3.21201.4 43,791 4/8/2021
6.0.0-preview.2.21154.6 74,579 3/11/2021 6.0.0-preview.2.21154.6 is deprecated because it is no longer maintained.
6.0.0-preview.1.21102.12 39,822 2/12/2021 6.0.0-preview.1.21102.12 is deprecated because it is no longer maintained.
5.0.0 130,473,545 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 104,065 10/13/2020 5.0.0-rc.2.20475.5 is deprecated because it is no longer maintained.
5.0.0-rc.1.20451.14 51,610 9/14/2020 5.0.0-rc.1.20451.14 is deprecated because it is no longer maintained.
5.0.0-preview.8.20407.11 34,942 8/25/2020 5.0.0-preview.8.20407.11 is deprecated because it is no longer maintained.
5.0.0-preview.7.20364.11 29,696 7/21/2020 5.0.0-preview.7.20364.11 is deprecated because it is no longer maintained.
5.0.0-preview.6.20305.6 30,622 6/25/2020 5.0.0-preview.6.20305.6 is deprecated because it is no longer maintained.
5.0.0-preview.5.20278.1 19,676 6/10/2020 5.0.0-preview.5.20278.1 is deprecated because it is no longer maintained.
5.0.0-preview.4.20251.6 31,278 5/18/2020 5.0.0-preview.4.20251.6 is deprecated because it is no longer maintained.
5.0.0-preview.3.20215.2 15,773 4/23/2020 5.0.0-preview.3.20215.2 is deprecated because it is no longer maintained.
5.0.0-preview.2.20160.3 49,009 4/2/2020 5.0.0-preview.2.20160.3 is deprecated because it is no longer maintained.
5.0.0-preview.1.20120.4 18,311 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 2,196,790 12/13/2022
3.1.31 641,189 11/8/2022
3.1.30 1,113,854 10/11/2022
3.1.29 369,318 9/13/2022
3.1.28 520,689 8/9/2022
3.1.27 341,987 7/12/2022
3.1.26 354,185 6/14/2022
3.1.25 458,985 5/10/2022
3.1.24 392,833 4/11/2022
3.1.23 902,824 3/8/2022
3.1.22 2,716,804 12/14/2021
3.1.21 1,615,134 11/7/2021
3.1.20 931,639 10/11/2021
3.1.19 899,361 9/14/2021
3.1.18 1,893,218 8/10/2021
3.1.17 1,399,210 7/13/2021
3.1.16 1,834,654 6/8/2021
3.1.15 2,622,590 5/11/2021
3.1.14 2,279,130 4/6/2021
3.1.13 4,631,681 3/9/2021
3.1.12 2,320,007 2/9/2021
3.1.11 2,734,822 1/12/2021
3.1.10 5,879,921 11/9/2020
3.1.9 7,479,266 10/13/2020
3.1.8 9,783,858 9/8/2020
3.1.7 6,678,064 8/11/2020
3.1.6 15,862,430 7/14/2020
3.1.5 11,668,895 6/9/2020
3.1.4 5,800,618 5/12/2020
3.1.3 11,445,314 3/24/2020
3.1.2 12,692,668 2/18/2020
3.1.1 8,119,734 1/14/2020
3.1.0 17,156,241 12/3/2019
3.1.0-preview3.19553.2 49,239 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 4,886 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 12,085 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 273,515 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 752,632 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 977,065 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 16,441,823 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 18,966 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 220,104 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 148,360 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 133,453 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 476,332 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 128,955 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 9,456 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 35,270 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 6,859 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
3.0.0-preview.18572.1 3,150 12/4/2018 3.0.0-preview.18572.1 is deprecated because it is no longer maintained.
2.2.0 71,224,212 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 104,471 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 27,116 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 13,031 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 39,049,866 6/18/2018
2.1.0 6,199,246 5/29/2018
2.1.0-rc1-final 70,473 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 39,354 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 110,808 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.2 5,803,990 5/7/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,368,936 3/13/2018 2.0.1 is deprecated because it is no longer maintained.
2.0.0 23,669,676 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 87,036 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 46,364 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.2 493,643 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 261,474 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 245,966 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 12,002 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.2 1,340,189 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 315,607 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 417,172 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 122,474 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.
1.0.0-rc1-final 158,341 11/18/2015 1.0.0-rc1-final is deprecated because it is no longer maintained.