mirror of
https://github.com/gopasspw/gopass.git
synced 2026-10-06 16:36:22 +02:00
This backend has never been fully completed and shouldn't be used as-is. RELEASE_NOTES=[CLEANUP] Remove the ondisk backend Signed-off-by: Dominik Schulz <dominik.schulz@gauner.org>
27 lines
976 B
Markdown
27 lines
976 B
Markdown
# `init` command
|
||
|
||
The `init` command is used to initialize a new password store.
|
||
If no recipients are specified a useable existing private key is used.
|
||
|
||
The `init` command must be used to initilize new mounts. `gopass mounts add` only supports adding existing mounts.
|
||
|
||
Note: We do not support adding recipients using `init`. Please use `gopass recipients add` for that!
|
||
|
||
## Synopsis
|
||
|
||
```
|
||
$ gopass init
|
||
$ gopass init --crypto [age|gpg] --storage=[fs|gitfs]
|
||
```
|
||
|
||
## Flags
|
||
|
||
Flag | Aliases | Description
|
||
---- | ------- | -----------
|
||
`--path` | `-p` | Initialize the (sub) store in this location.
|
||
`--store` | `-s` | Mount the newly initialized sub-store at this mount point
|
||
`--crypto` | | Select the crypto backend. Choose one of: `gpgcli`, `age`, `xc` (deprecated) or `plain`. Default: `gpgcli`
|
||
`--storage` | | Select the storage and RCS backend. Choose one of: `gitfs`, `fs`. Default: `gitfs`
|
||
|
||
See [backends.md](../backends.md) for more information on the available backends.
|