forked from TrueCloudLab/frostfs-node
[#562] config: parse key on config load
Signed-off-by: Evgenii Stratonikov <evgeniy@nspcc.ru>
This commit is contained in:
parent
9142c778c7
commit
2f020a500d
6 changed files with 20 additions and 8 deletions
|
@ -7,7 +7,7 @@ NEOFS_METRICS_ADDRESS=127.0.0.1:9090
|
|||
NEOFS_METRICS_SHUTDOWN_TIMEOUT=15s
|
||||
|
||||
# Node section
|
||||
NEOFS_NODE_KEY=path/hex/WIF
|
||||
NEOFS_NODE_KEY=./wallet.key
|
||||
NEOFS_NODE_WALLET_PATH=./wallet.json
|
||||
NEOFS_NODE_WALLET_ADDRESS=NcpJzXcSDrh5CCizf4K9Ro6w4t59J5LKzz
|
||||
NEOFS_NODE_WALLET_PASSWORD=password
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"shutdown_timeout": "15s"
|
||||
},
|
||||
"node": {
|
||||
"key": "path/hex/WIF",
|
||||
"key": "./wallet.key",
|
||||
"wallet": {
|
||||
"path": "./wallet.json",
|
||||
"address": "NcpJzXcSDrh5CCizf4K9Ro6w4t59J5LKzz",
|
||||
|
|
|
@ -10,7 +10,7 @@ metrics:
|
|||
shutdown_timeout: 15s
|
||||
|
||||
node:
|
||||
key: path/hex/WIF
|
||||
key: ./wallet.key
|
||||
wallet:
|
||||
path: "./wallet.json"
|
||||
address: "NcpJzXcSDrh5CCizf4K9Ro6w4t59J5LKzz"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue