Skip to content

Commit

Permalink
Update app-secrets.md (#33962)
Browse files Browse the repository at this point in the history
* Update app-secrets.md

* Update aspnetcore/security/app-secrets.md

* Update aspnetcore/security/app-secrets.md

* Update aspnetcore/security/app-secrets.md

* Update aspnetcore/security/app-secrets.md

* Update aspnetcore/security/app-secrets.md

* Update aspnetcore/security/app-secrets.md

* Update aspnetcore/security/app-secrets.md

* Update aspnetcore/security/app-secrets.md

* Update aspnetcore/security/app-secrets.md
  • Loading branch information
Rick-Anderson authored Oct 28, 2024
1 parent 959957e commit f190867
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion aspnetcore/security/app-secrets.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,9 @@ By [Rick Anderson](https://twitter.com/RickAndMSFT) and [Kirk Larkin](https://tw

[View or download sample code](https://github.com/dotnet/AspNetCore.Docs/tree/main/aspnetcore/security/app-secrets/samples) ([how to download](xref:index#how-to-download-a-sample))

This document explains how to manage sensitive data for an ASP.NET Core app on a development machine. Never store passwords or other sensitive data in source code. Production secrets shouldn't be used for development or test. Secrets shouldn't be deployed with the app. Instead, production secrets should be accessed through a controlled means like environment variables or Azure Key Vault. You can store and protect Azure test and production secrets with the [Azure Key Vault configuration provider](xref:security/key-vault-configuration).
This article explains how to manage sensitive data for an ASP.NET Core app on a development machine. Never store passwords or other sensitive data in source code or configuration files. Production secrets shouldn't be used for development or test. Secrets shouldn't be deployed with the app. Production secrets should be accessed through a controlled means like Azure Key Vault. Azure test and production secrets can be stored and protected with the [Azure Key Vault configuration provider](xref:security/key-vault-configuration).

For more information on authentication for deployed test and production apps, see [Secure authentication flows](xref:security/index#secure-authentication-flows).

To use user secrets in a .NET console app, see [this GitHub issue](https://github.com/dotnet/EntityFramework.Docs/issues/3939#issuecomment-1191978026).

Expand Down

0 comments on commit f190867

Please sign in to comment.