Commit 585b88a
authored
docs: update credential storage docs and remove stale config.json references (#408)
## Summary
Auth credentials were migrated to SQLite (`cli.db`) but docs and code
comments still referenced `~/.sentry/config.json`. This updates
everything to match reality:
- Rewrites the auth command docs "Credential Storage" section to note
that credentials live in `cli.db` with restricted permissions, and
points users to `sentry auth token` / `sentry auth status` instead of
exposing the internal schema
- Updates the configuration page's credential storage section to name
`cli.db`, mention WAL permissions, and link to the auth docs
- Removes DB schema details (column/type table), `sqlite3` query
examples, and "Direct Database Access" subsection — users shouldn't read
the DB directly
- Removes sqlite3 examples from the SKILL.md agent skill file
- Fixes three stale comments/strings in `logout.ts`, `oauth.ts`, and
`dsn/types.ts`
## Test Plan
- `bun run typecheck` — passes (pre-existing trial module errors only)
- `bun run lint` — clean
- `bun run test:unit` — no new failures
- Verified no `sqlite3` or schema content remains in docs1 parent 84d2812 commit 585b88a
File tree
5 files changed
+18
-16
lines changed- docs/src/content/docs
- commands
- src
- commands/auth
- lib
- dsn
5 files changed
+18
-16
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
84 | 84 | | |
85 | 85 | | |
86 | 86 | | |
87 | | - | |
| 87 | + | |
88 | 88 | | |
89 | | - | |
| 89 | + | |
90 | 90 | | |
91 | | - | |
| 91 | + | |
92 | 92 | | |
93 | | - | |
94 | | - | |
95 | | - | |
96 | | - | |
97 | | - | |
98 | | - | |
99 | | - | |
100 | | - | |
101 | | - | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| 99 | + | |
| 100 | + | |
| 101 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
144 | 144 | | |
145 | 145 | | |
146 | 146 | | |
147 | | - | |
| 147 | + | |
148 | 148 | | |
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
| 153 | + | |
| 154 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
| 33 | + | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
66 | 66 | | |
67 | 67 | | |
68 | 68 | | |
69 | | - | |
| 69 | + | |
70 | 70 | | |
71 | 71 | | |
72 | 72 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
302 | 302 | | |
303 | 303 | | |
304 | 304 | | |
305 | | - | |
| 305 | + | |
306 | 306 | | |
307 | 307 | | |
308 | 308 | | |
| |||
0 commit comments