Skip to content
Snippets Groups Projects

add vault

Merged Hugo Trentesaux requested to merge hugo-keystore into master
Files
9
+ 4
4
@@ -4,11 +4,11 @@ Some Ğcli commands require to have an address configured (for example to get ac
Ğcli allows to save what you want in a config file and to overwrite parts in command line arguments. Example:
```sh
# save Alice secret to config file
cargo run -- -S predefined -s Alice config save
# save Alice secret to encrypted local file
gcli -S predefined -s Alice vault add
# show config
cargo run -- config show
gcli config show
# [stdout]
# Ğcli config
# duniter endpoint ws://localhost:9944
@@ -16,7 +16,7 @@ cargo run -- config show
# address 5GrwvaEF5zXb26Fz9rcQpDWS57CtERHpNehXCPcNoHGKutQY (secret defined)
# use different address in command line
cargo run -- --address 5Fxune7f71ZbpP2FoY3mhYcmM596Erhv1gRue4nsPwkxMR4n config show
gcli --address 5Fxune7f71ZbpP2FoY3mhYcmM596Erhv1gRue4nsPwkxMR4n config show
# [stdout]
# Ğcli config
# duniter endpoint ws://localhost:9944
Loading