Microsoft.Extensions.Configuration.UserSecrets 10.0.2

Prefix Reserved
dotnet add package Microsoft.Extensions.Configuration.UserSecrets --version 10.0.2
                    
NuGet\Install-Package Microsoft.Extensions.Configuration.UserSecrets -Version 10.0.2
                    
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="10.0.2" />
                    
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Microsoft.Extensions.Configuration.UserSecrets" Version="10.0.2" />
                    
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 10.0.2
                    
#r "nuget: Microsoft.Extensions.Configuration.UserSecrets, 10.0.2"
                    
#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@10.0.2
                    
#: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=10.0.2
                    
Install as a Cake Addin
#tool nuget:?package=Microsoft.Extensions.Configuration.UserSecrets&version=10.0.2
                    
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 is compatible.  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 (600)

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 (176)

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
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
1357310795/MyComputerManager
管理“此电脑”里删不掉的流氓“快捷方式”(包括侧边栏),同时可自己添加这类“快捷方式”
Version Downloads Last Updated
10.0.2 0 1/13/2026
10.0.1 1,723,837 12/9/2025
10.0.0 4,553,160 11/11/2025
10.0.0-rc.2.25502.107 108,399 10/14/2025
10.0.0-rc.1.25451.107 162,034 9/9/2025
10.0.0-preview.7.25380.108 49,180 8/12/2025
10.0.0-preview.6.25358.103 68,783 7/15/2025
10.0.0-preview.5.25277.114 44,576 6/6/2025
10.0.0-preview.4.25258.110 32,712 5/12/2025
10.0.0-preview.3.25171.5 68,847 4/10/2025
10.0.0-preview.2.25163.2 29,681 3/18/2025
10.0.0-preview.1.25080.5 62,233 2/25/2025
9.0.12 0 1/13/2026
9.0.11 1,727,666 11/11/2025
9.0.10 4,890,942 10/14/2025
9.0.9 7,180,753 9/9/2025
9.0.8 6,911,964 8/4/2025
9.0.7 5,861,550 7/8/2025
9.0.6 6,367,055 6/10/2025
9.0.5 8,073,687 5/13/2025
9.0.4 11,779,313 4/8/2025
9.0.3 7,013,274 3/11/2025
9.0.2 7,991,668 2/11/2025
9.0.1 7,428,237 1/14/2025
9.0.0 24,811,836 11/12/2024
9.0.0-rc.2.24473.5 145,777 10/8/2024
9.0.0-rc.1.24431.7 87,871 9/10/2024
9.0.0-preview.7.24405.7 52,124 8/13/2024
9.0.0-preview.6.24327.7 52,018 7/9/2024
9.0.0-preview.5.24306.7 41,781 6/11/2024
9.0.0-preview.4.24266.19 39,405 5/21/2024
9.0.0-preview.3.24172.9 124,220 4/11/2024
9.0.0-preview.2.24128.5 43,849 3/12/2024
9.0.0-preview.1.24080.9 61,766 2/13/2024
8.0.1 93,336,460 10/8/2024
8.0.0 152,661,152 11/14/2023
8.0.0-rc.2.23479.6 162,463 10/10/2023
8.0.0-rc.1.23419.4 138,144 9/12/2023
8.0.0-preview.7.23375.6 61,523 8/8/2023
8.0.0-preview.6.23329.7 78,472 7/11/2023
8.0.0-preview.5.23280.8 68,669 6/13/2023
8.0.0-preview.4.23259.5 316,850 5/16/2023
8.0.0-preview.3.23174.8 119,753 4/11/2023
8.0.0-preview.2.23128.3 38,215 3/14/2023
8.0.0-preview.1.23110.8 112,502 2/21/2023
7.0.0 95,051,957 11/7/2022
7.0.0-rc.2.22472.3 157,194 10/11/2022
7.0.0-rc.1.22426.10 85,521 9/14/2022
7.0.0-preview.7.22375.6 63,345 8/9/2022
7.0.0-preview.6.22324.4 53,541 7/12/2022
7.0.0-preview.5.22301.12 46,136 6/14/2022
7.0.0-preview.4.22229.4 45,172 5/10/2022
7.0.0-preview.3.22175.4 52,265 4/13/2022
7.0.0-preview.2.22152.2 23,508 3/14/2022
7.0.0-preview.1.22076.8 26,463 2/17/2022
6.0.2 208,887 11/12/2024
6.0.1 170,848,359 2/8/2022
6.0.0 75,208,185 11/8/2021
6.0.0-rc.2.21480.5 457,876 10/12/2021
6.0.0-rc.1.21451.13 284,186 9/14/2021
6.0.0-preview.7.21377.19 134,182 8/10/2021
6.0.0-preview.6.21352.12 46,457 7/14/2021
6.0.0-preview.5.21301.5 30,817 6/15/2021
6.0.0-preview.4.21253.7 38,914 5/24/2021
6.0.0-preview.3.21201.4 43,998 4/8/2021
6.0.0-preview.2.21154.6 74,697 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 40,361 2/12/2021 6.0.0-preview.1.21102.12 is deprecated because it is no longer maintained.
5.0.0 135,430,047 11/9/2020 5.0.0 is deprecated because it is no longer maintained.
5.0.0-rc.2.20475.5 107,458 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 52,107 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 35,352 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,873 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 31,320 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,768 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,410 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,894 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,089 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,453 3/16/2020 5.0.0-preview.1.20120.4 is deprecated because it is no longer maintained.
3.1.32 2,373,109 12/13/2022
3.1.31 697,100 11/8/2022
3.1.30 1,172,488 10/11/2022
3.1.29 418,253 9/13/2022
3.1.28 574,743 8/9/2022
3.1.27 388,537 7/12/2022
3.1.26 401,149 6/14/2022
3.1.25 511,746 5/10/2022
3.1.24 440,629 4/11/2022
3.1.23 958,381 3/8/2022
3.1.22 2,788,663 12/14/2021
3.1.21 1,672,837 11/7/2021
3.1.20 990,556 10/11/2021
3.1.19 950,901 9/14/2021
3.1.18 1,960,793 8/10/2021
3.1.17 1,454,214 7/13/2021
3.1.16 1,908,734 6/8/2021
3.1.15 2,713,632 5/11/2021
3.1.14 2,337,951 4/6/2021
3.1.13 4,719,072 3/9/2021
3.1.12 2,379,860 2/9/2021
3.1.11 2,806,291 1/12/2021
3.1.10 5,971,408 11/9/2020
3.1.9 7,588,870 10/13/2020
3.1.8 9,880,022 9/8/2020
3.1.7 6,815,204 8/11/2020
3.1.6 16,062,970 7/14/2020
3.1.5 11,788,190 6/9/2020
3.1.4 5,897,444 5/12/2020
3.1.3 11,622,659 3/24/2020
3.1.2 12,861,169 2/18/2020
3.1.1 8,259,369 1/14/2020
3.1.0 17,427,161 12/3/2019
3.1.0-preview3.19553.2 49,388 11/13/2019 3.1.0-preview3.19553.2 is deprecated because it is no longer maintained.
3.1.0-preview2.19525.4 4,975 11/1/2019 3.1.0-preview2.19525.4 is deprecated because it is no longer maintained.
3.1.0-preview1.19506.1 12,245 10/15/2019 3.1.0-preview1.19506.1 is deprecated because it is no longer maintained.
3.0.3 299,641 2/18/2020 3.0.3 is deprecated because it is no longer maintained.
3.0.2 774,219 1/14/2020 3.0.2 is deprecated because it is no longer maintained.
3.0.1 1,014,842 11/18/2019 3.0.1 is deprecated because it is no longer maintained.
3.0.0 16,724,578 9/23/2019 3.0.0 is deprecated because it is no longer maintained.
3.0.0-rc1.19456.10 19,066 9/16/2019 3.0.0-rc1.19456.10 is deprecated because it is no longer maintained.
3.0.0-preview9.19423.4 220,250 9/4/2019 3.0.0-preview9.19423.4 is deprecated because it is no longer maintained.
3.0.0-preview8.19405.4 148,753 8/13/2019 3.0.0-preview8.19405.4 is deprecated because it is no longer maintained.
3.0.0-preview7.19362.4 133,607 7/23/2019 3.0.0-preview7.19362.4 is deprecated because it is no longer maintained.
3.0.0-preview6.19304.6 476,534 6/12/2019 3.0.0-preview6.19304.6 is deprecated because it is no longer maintained.
3.0.0-preview5.19227.9 130,099 5/6/2019 3.0.0-preview5.19227.9 is deprecated because it is no longer maintained.
3.0.0-preview4.19216.2 9,543 4/18/2019 3.0.0-preview4.19216.2 is deprecated because it is no longer maintained.
3.0.0-preview3.19153.1 35,667 3/6/2019 3.0.0-preview3.19153.1 is deprecated because it is no longer maintained.
3.0.0-preview.19074.2 6,984 1/29/2019 3.0.0-preview.19074.2 is deprecated because it is no longer maintained.
3.0.0-preview.18572.1 3,229 12/4/2018 3.0.0-preview.18572.1 is deprecated because it is no longer maintained.
2.2.0 72,773,849 12/3/2018 2.2.0 is deprecated because it is no longer maintained.
2.2.0-preview3-35497 104,658 10/17/2018 2.2.0-preview3-35497 is deprecated because it is no longer maintained.
2.2.0-preview2-35157 27,256 9/12/2018 2.2.0-preview2-35157 is deprecated because it is no longer maintained.
2.2.0-preview1-35029 13,145 8/22/2018 2.2.0-preview1-35029 is deprecated because it is no longer maintained.
2.1.1 39,798,853 6/18/2018
2.1.0 6,279,565 5/29/2018
2.1.0-rc1-final 70,622 5/6/2018 2.1.0-rc1-final is deprecated because it is no longer maintained.
2.1.0-preview2-final 39,676 4/10/2018 2.1.0-preview2-final is deprecated because it is no longer maintained.
2.1.0-preview1-final 110,975 2/26/2018 2.1.0-preview1-final is deprecated because it is no longer maintained.
2.0.2 5,906,368 5/7/2018 2.0.2 is deprecated because it is no longer maintained.
2.0.1 6,464,203 3/13/2018 2.0.1 is deprecated because it is no longer maintained.
2.0.0 23,928,319 8/11/2017 2.0.0 is deprecated because it is no longer maintained.
2.0.0-preview2-final 87,430 6/28/2017 2.0.0-preview2-final is deprecated because it is no longer maintained.
2.0.0-preview1-final 46,597 5/10/2017 2.0.0-preview1-final is deprecated because it is no longer maintained.
1.1.2 538,021 5/9/2017 1.1.2 is deprecated because it is no longer maintained.
1.1.1 306,868 3/6/2017 1.1.1 is deprecated because it is no longer maintained.
1.1.0 289,859 11/16/2016 1.1.0 is deprecated because it is no longer maintained.
1.1.0-preview1-final 12,112 10/24/2016 1.1.0-preview1-final is deprecated because it is no longer maintained.
1.0.2 1,378,624 3/6/2017 1.0.2 is deprecated because it is no longer maintained.
1.0.1 358,938 12/12/2016 1.0.1 is deprecated because it is no longer maintained.
1.0.0 469,096 6/27/2016 1.0.0 is deprecated because it is no longer maintained.
1.0.0-rc2-final 123,746 5/16/2016 1.0.0-rc2-final is deprecated because it is no longer maintained.
1.0.0-rc1-final 158,450 11/18/2015 1.0.0-rc1-final is deprecated because it is no longer maintained.