Commit cbed4c6
committed
docs: auth token's example stops putting the credential in argv
The command's own example interpolated the token into curl's arguments,
where any local user can read it from ps for the life of the request —
the CLI teaching the unsafe shape. It now leads with flagsmith api,
where the credential never leaves the process, and shows a curl form
that pipes the header in via -H @- (verified: curl reads @- from stdin).
Addresses Themis review on #43 (auth.go:215).
beep boop1 parent d0289db commit cbed4c6
1 file changed
Lines changed: 6 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
211 | 211 | | |
212 | 212 | | |
213 | 213 | | |
214 | | - | |
215 | | - | |
216 | | - | |
| 214 | + | |
| 215 | + | |
| 216 | + | |
| 217 | + | |
| 218 | + | |
| 219 | + | |
217 | 220 | | |
218 | 221 | | |
219 | 222 | | |
| |||
0 commit comments