From 66127356eb29c95bfd032635c6646314bf34ac68 Mon Sep 17 00:00:00 2001 From: Enrico Del Fante Date: Tue, 4 Jul 2023 17:40:49 +0200 Subject: [PATCH 1/4] add external-signer value to validators-external-signer-public-keys --- docs/reference/cli/index.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/docs/reference/cli/index.md b/docs/reference/cli/index.md index ba5fb79f9..bb337fbf2 100644 --- a/docs/reference/cli/index.md +++ b/docs/reference/cli/index.md @@ -2677,10 +2677,16 @@ validators-external-signer-public-keys: ["0xa99a...e44c","0xb89b...4a0b"] List or URL of validator public keys used by an external signer (for example, Web3Signer). -Use the URL of the external signer's [`/publicKeys` endpoint](https://consensys.github.io/web3signer/web3signer-eth2.html#tag/Public-Key) to load the public keys of all registered validators. For example: +Use the URL to load the public keys from a remote service. For example: ```bash ---validators-external-signer-public-keys=http://localhost:9000/api/v1/eth2/publicKeys +--validators-external-signer-public-keys=http://localhost:9900/publicKeys +``` + +Use the value `external-signer` to load all public keys managed by the external signer. Teku will automatically query external signer's [`/publicKeys` endpoint](https://consensys.github.io/web3signer/web3signer-eth2.html#tag/Public-Key). + +```bash +--validators-external-signer-public-keys=external-signer ``` :::tip From 29db690b0f1d69439118bb51721b68dedb964a2b Mon Sep 17 00:00:00 2001 From: Enrico Del Fante Date: Tue, 18 Jul 2023 09:21:02 +0200 Subject: [PATCH 2/4] Update docs/reference/cli/index.md Co-authored-by: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> --- docs/reference/cli/index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/cli/index.md b/docs/reference/cli/index.md index 89eceaf2b..332a96a24 100644 --- a/docs/reference/cli/index.md +++ b/docs/reference/cli/index.md @@ -2716,7 +2716,7 @@ Use the URL to load the public keys from a remote service. For example: --validators-external-signer-public-keys=http://localhost:9900/publicKeys ``` -Use the value `external-signer` to load all public keys managed by the external signer. Teku will automatically query external signer's [`/publicKeys` endpoint](https://consensys.github.io/web3signer/web3signer-eth2.html#tag/Public-Key). +Use the value `external-signer` to load all public keys managed by the external signer. Teku automatically queries the external signer's [`/publicKeys` endpoint](https://consensys.github.io/web3signer/web3signer-eth2.html#tag/Public-Key). ```bash --validators-external-signer-public-keys=external-signer From d46109edd526cb8fb89acef7dc8bc89720535ff6 Mon Sep 17 00:00:00 2001 From: Enrico Del Fante Date: Tue, 18 Jul 2023 10:45:58 +0200 Subject: [PATCH 3/4] update validator-client too --- docs/reference/cli/subcommands/validator-client.md | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/docs/reference/cli/subcommands/validator-client.md b/docs/reference/cli/subcommands/validator-client.md index e94f01d33..58a9c8d7f 100644 --- a/docs/reference/cli/subcommands/validator-client.md +++ b/docs/reference/cli/subcommands/validator-client.md @@ -784,6 +784,18 @@ validators-external-signer-public-keys: ["0xa99a...e44c","0xb89b...4a0b"] List of validator public keys used by an external signer (for example, [Web3Signer]). +Use the URL to load the public keys from a remote service. For example: + +```bash +--validators-external-signer-public-keys=http://localhost:9900/publicKeys +``` + +Use the value `external-signer` to load all public keys managed by the external signer. Teku automatically queries the external signer's [`/publicKeys` endpoint](https://consensys.github.io/web3signer/web3signer-eth2.html#tag/Public-Key). + +```bash +--validators-external-signer-public-keys=external-signer +``` + ## `validators-external-signer-slashing-protection-enabled` From fb1d5b21bca8a30f7a56c07cdc016e25fe1d75db Mon Sep 17 00:00:00 2001 From: Alexandra Tran Carrillo <12214231+alexandratran@users.noreply.github.com> Date: Tue, 18 Jul 2023 07:54:25 -0700 Subject: [PATCH 4/4] Update docs/reference/cli/subcommands/validator-client.md --- docs/reference/cli/subcommands/validator-client.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/reference/cli/subcommands/validator-client.md b/docs/reference/cli/subcommands/validator-client.md index 58a9c8d7f..33806686c 100644 --- a/docs/reference/cli/subcommands/validator-client.md +++ b/docs/reference/cli/subcommands/validator-client.md @@ -782,7 +782,7 @@ validators-external-signer-public-keys: ["0xa99a...e44c","0xb89b...4a0b"] -List of validator public keys used by an external signer (for example, [Web3Signer]). +List or URL of validator public keys used by an external signer (for example, [Web3Signer]). Use the URL to load the public keys from a remote service. For example: