Skip to content

Commit 40dca06

Browse files
committed
Update docs
1 parent 9efd1eb commit 40dca06

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

docs/docs/get_started/configuration.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -256,16 +256,16 @@ ca_cert_path = "/path/to/ca.crt"
256256
[[signer.dirk.hosts]]
257257
server_name = "localhost-1"
258258
url = "https://localhost-1:8081"
259-
accounts = ["SomeWallet/SomeAccount", "DistributedWallet/Account1"]
259+
wallets = ["SomeWallet", "DistributedWallet"]
260260

261261
[[signer.dirk.hosts]]
262262
server_name = "localhost-2"
263263
url = "https://localhost-2:8082"
264-
accounts = ["AnotherWallet/AnotherAccount", "DistributedWallet/Account1"]
264+
wallets = ["AnotherWallet", "DistributedWallet"]
265265
```
266266

267267
- `cert_path` and `key_path` are the paths to the client certificate and key used to authenticate with Dirk.
268-
- `accounts` is a list of accounts that the Signer module will consider as the consensus keys. Each account has the format `<WALLET_NAME>/<ACCOUNT>`. Accounts can be from different wallets. Generated proxy keys will have format `<WALLET_NAME>/<ACCOUNT>/<MODULE_ID>/<UUID>`.
268+
- `wallets` is a list of wallets from which the Signer module will load all accounts as consensus keys. Generated proxy keys will have format `<WALLET_NAME>/<ACCOUNT>/<MODULE_ID>/<UUID>`, so accounts found with that pattern will be ignored.
269269
- `secrets_path` is the path to the folder containing the passwords of the generated proxy accounts, which will be stored in `<secrets_path>/<WALLET_NAME>/<ACCOUNT>/<MODULE_ID>/<UUID>.pass`.
270270

271271
Additionally, you can set a proxy store so that the delegation signatures for generated proxy keys are stored locally. As these signatures are not sensitive, the only supported store type is `File`:

examples/configs/dirk_signer.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ ca_cert_path = "/path/to/ca.crt"
1818
# Example of a single Dirk host
1919
[[signer.dirk.hosts]]
2020
url = "https://gateway.dirk.url"
21-
accounts = ["wallet1/accountX", "wallet2/accountY"]
21+
wallets = ["wallet1", "wallet2"]
2222

2323
[signer.dirk.store]
2424
proxy_dir = "/path/to/proxies"

0 commit comments

Comments
 (0)