keyring: update documentation (#8839)
* keyring: update documentation * Update docs/run-node/keyring.md Co-authored-by: Barrie Byron <barrie.byron@tendermint.com> * Update docs/run-node/keyring.md Co-authored-by: Barrie Byron <barrie.byron@tendermint.com> Co-authored-by: Barrie Byron <barrie.byron@tendermint.com> Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
This commit is contained in:
parent
288f8dda4b
commit
3954c244b6
|
@ -110,7 +110,7 @@ func AddTxFlagsToCmd(cmd *cobra.Command) {
|
|||
cmd.Flags().Bool(FlagGenerateOnly, false, "Build an unsigned transaction and write it to STDOUT (when enabled, the local Keybase is not accessible)")
|
||||
cmd.Flags().Bool(FlagOffline, false, "Offline mode (does not allow any online functionality")
|
||||
cmd.Flags().BoolP(FlagSkipConfirmation, "y", false, "Skip tx broadcasting prompt confirmation")
|
||||
cmd.Flags().String(FlagKeyringBackend, DefaultKeyringBackend, "Select keyring's backend (os|file|kwallet|pass|test)")
|
||||
cmd.Flags().String(FlagKeyringBackend, DefaultKeyringBackend, "Select keyring's backend (os|file|kwallet|pass|test|memory)")
|
||||
cmd.Flags().String(FlagSignMode, "", "Choose sign mode (direct|amino-json), this is an advanced feature")
|
||||
cmd.Flags().Uint64(FlagTimeoutHeight, 0, "Set a block timeout height to prevent the tx from being committed past a certain height")
|
||||
cmd.Flags().String(FlagFeeAccount, "", "Fee account pays fees for the transaction instead of deducting from the signer")
|
||||
|
|
|
@ -38,6 +38,8 @@ client.
|
|||
designed to meet users' most common needs and provide them with a comfortable
|
||||
experience without compromising on security.
|
||||
|
||||
The recommended backends for headless environments are `file` and `pass`.
|
||||
|
||||
### The `file` backend
|
||||
|
||||
The `file` backend more closely resembles the keybase implementation used prior to
|
||||
|
@ -82,12 +84,6 @@ $ pass init <GPG_KEY_ID>
|
|||
Replace `<GPG_KEY_ID>` with your GPG key ID. You can use your personal GPG key or an alternative
|
||||
one you may want to use specifically to encrypt the password store.
|
||||
|
||||
### The `test` backend
|
||||
|
||||
The `test` backend is a password-less variation of the `file` backend. Keys are stored
|
||||
unencrypted on disk. This backend is meant for testing purposes only and **should never be used
|
||||
in production environments**.
|
||||
|
||||
### The `kwallet` backend
|
||||
|
||||
The `kwallet` backend uses `KDE Wallet Manager`, which comes installed by default on the
|
||||
|
@ -95,6 +91,19 @@ GNU/Linux distributions that ships KDE as default desktop environment. Please re
|
|||
[KWallet Handbook](https://docs.kde.org/stable5/en/kdeutils/kwallet5/index.html) for more
|
||||
information.
|
||||
|
||||
### The `test` backend
|
||||
|
||||
The `test` backend is a password-less variation of the `file` backend. Keys are stored
|
||||
unencrypted on disk.
|
||||
|
||||
**Provided for testing purposes only. The `test` backend is not recommended for use in production environments**.
|
||||
|
||||
### The `memory` backend
|
||||
|
||||
The `memory` backend stores keys in memory. The keys are immediately deleted after the program has exited.
|
||||
|
||||
**Provided for testing purposes only. The `memory` backend is not recommended for use in production environments**.
|
||||
|
||||
## Adding keys to the keyring
|
||||
|
||||
::: warning
|
||||
|
|
Loading…
Reference in New Issue