docs: update CLAUDE.md files to reflect CredentialTools secrets loading pattern

This commit is contained in:
Daniel Harvey
2026-05-18 17:39:42 -04:00
parent 12c4046965
commit ad7741744d
3 changed files with 16 additions and 11 deletions
+6 -4
View File
@@ -123,10 +123,12 @@ dotnet ef database update --project DeepDrftWeb.Services --startup-project DeepD
## Key Configuration Files
- `DeepDrftWeb/appsettings.json`: SQL connection string, logging
- `DeepDrftContent/environment/filedatabase.json`: FileDatabase vault path
- `DeepDrftContent/environment/apikey.json`: API key (not in repo)
- `DeepDrftCli/environment/connections.json`: CLI config (`ConnectionString`, `VaultPath`)
All projects load secrets via `CredentialTools.ResolvePathOrThrow()` from gitignored `environment/` files:
- `DeepDrftWeb/appsettings.json`: Logging and URL config. Secrets loaded from `environment/apikey.json` (DeepDrftContent API key), `environment/connections.json` (SQL and Auth connection strings), `environment/authblocks.json` (AuthBlocks settings).
- `DeepDrftContent/environment/filedatabase.json`: FileDatabase vault path. Loaded via CredentialTools.
- `DeepDrftContent/environment/apikey.json`: API key. Loaded via CredentialTools (not in repo).
- `DeepDrftCli/environment/connections.json`: CLI config (`ConnectionString`, `VaultPath`). Loaded via CredentialTools.
## Folder-Level Guidance