mirror of
https://github.com/angt/secret
synced 2025-01-14 08:01:32 +01:00
Update README.md
Signed-off-by: Adrien Gallouët <adrien@gallouet.fr>
This commit is contained in:
parent
2c48bddd70
commit
e88c9850ab
1 changed files with 24 additions and 2 deletions
26
README.md
26
README.md
|
@ -118,13 +118,35 @@ Add a new randomly generated secret:
|
|||
|
||||
$ secret new test
|
||||
Passphrase:
|
||||
^>f.8%]_zoN^jSi0CO_{(yYY5
|
||||
No secrets stored with this passphrase.
|
||||
Please, retype it to confirm:
|
||||
/xK;{%@d~hPh.L'5-Sn{sBQd5
|
||||
|
||||
Show the secret:
|
||||
|
||||
$ secret show test
|
||||
Passphrase:
|
||||
^>f.8%]_zoN^jSi0CO_{(yYY5
|
||||
/xK;{%@d~hPh.L'5-Sn{sBQd5
|
||||
|
||||
Rename a secret, press ENTER to not change it:
|
||||
|
||||
$ secret update test test2
|
||||
Passphrase:
|
||||
Secret:
|
||||
|
||||
$ secret show test2
|
||||
Passphrase:
|
||||
/xK;{%@d~hPh.L'5-Sn{sBQd5
|
||||
|
||||
Pipe a secret:
|
||||
|
||||
$ secret show test2 | tr -cd [a-z] | secret update test2
|
||||
Passphrase:
|
||||
Passphrase:
|
||||
|
||||
$ secret show test2
|
||||
Passphrase:
|
||||
xdhhnsd
|
||||
|
||||
Derive a deterministic (a.k.a. unstored) secret:
|
||||
|
||||
|
|
Loading…
Reference in a new issue