mirror of
https://gitea.com/mcereda/oam.git
synced 2026-02-13 23:34:24 +00:00
chore: improved tl;dr for gopass
This commit is contained in:
1
.vscode/settings.json
vendored
1
.vscode/settings.json
vendored
@@ -33,6 +33,7 @@
|
||||
"flatpak",
|
||||
"gcloud",
|
||||
"getfacl",
|
||||
"gopass",
|
||||
"gpgconf",
|
||||
"gpgtools",
|
||||
"growpart",
|
||||
|
||||
@@ -3,11 +3,45 @@
|
||||
## TL;DR
|
||||
|
||||
```sh
|
||||
# Initiate the root store.
|
||||
gopass init
|
||||
gopass init -p 'path/to/root/store'
|
||||
|
||||
# multistore init
|
||||
gopass init --store private --path ~/.password-store.private
|
||||
gopass init --store work --path ~/.password-store.work
|
||||
# Insert new entries.
|
||||
gopass insert 'path/to/secret'
|
||||
gopass insert 'path/to/secret' -m
|
||||
|
||||
# Edit new or existing secrets.
|
||||
gopass edit 'path/to/secret'
|
||||
gopass set 'path/to/secret'
|
||||
|
||||
# Delete entries.
|
||||
gopass delete 'path/to/secret'
|
||||
gopass remove 'path/to/secret'
|
||||
gopass rm 'path/to/secret'
|
||||
|
||||
# List mounted stores.
|
||||
gopass mounts
|
||||
|
||||
# Add (a.k.a mount) existing stores in multi store mode.
|
||||
gopass mounts add 'archive' '.password-store.archive'
|
||||
gopass mounts mount 'test' '.password-store.test'
|
||||
|
||||
# Create and mount stores.
|
||||
gopass init --store 'private' --path '.password-store.private'
|
||||
gopass init --store 'work' --path '.password-store.work'
|
||||
|
||||
# Remove (a.k.a unmount) stores.
|
||||
gopass mounts remove 'test' '.password-store.test'
|
||||
gopass mounts rm 'test' '.password-store.test'
|
||||
gopass mounts unmount 'archive' '.password-store.archive'
|
||||
gopass mounts umount 'archive' '.password-store.archive'
|
||||
|
||||
# Reset gopass' configuration.
|
||||
rm "${HOME}/.config/gopass/config"
|
||||
|
||||
# Remove gopass' default root store.
|
||||
rm -r "${HOME}/.local/share/gopass/stores/root"
|
||||
```
|
||||
|
||||
## Browsers integration
|
||||
|
||||
Reference in New Issue
Block a user