# User Secrets

*noun*

say it: **“YOO-zer SEE-krits”** **/ˈjuːzər ˈsiːkrɪts/**

Development settings, such as keys and passwords, stored outside the project so they're never committed.

## What is **User Secrets**?

**User secrets** keep development secrets (API keys, passwords) in a file in your user profile, outside the project folder, so they never get committed.

```bash
dotnet user-secrets init
dotnet user-secrets set "Weather:ApiKey" "<your key>"
```

## In a sentence

- “The JWT signing key lives in **user secrets**, not in appsettings.json.”

Level: Journeyman · [More ASP.NET Core terms at this level](https://www.ask-codey.com/glossary?category=aspnet-core&level=3)

Updated: November 9, 2026

Source: https://www.ask-codey.com/glossary/user-secrets
