Skip to content

Commit

Permalink
Add ee-jwt-claim-id to the CLI options (#530)
Browse files Browse the repository at this point in the history
  • Loading branch information
StefanBratanov authored Dec 19, 2023
1 parent 6ff0c29 commit 7bd243e
Show file tree
Hide file tree
Showing 2 changed files with 70 additions and 0 deletions.
35 changes: 35 additions & 0 deletions docs/reference/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,41 @@ ee-jwt-secret-file: "ee-jwt-secret.hex"

Shared secret used to authenticate [execution clients](../../concepts/merge.md#execution-and-consensus-clients) when using the Engine JSON-RPC API. Contents of file must be 32 hex-encoded bytes. May be a relative or absolute path. See an [example of how to generate this](../../get-started/connect/mainnet.md#1-generate-the-shared-secret).

### ee-jwt-claim-id

<Tabs>
<TabItem value="Syntax" label="Syntax" default>

```bash
--ee-jwt-claim-id=<STRING>
```

</TabItem>
<TabItem value="Example" label="Example" >

```bash
--ee-jwt-claim-id=foobar
```

</TabItem>
<TabItem value="Environment variable" label="Environment variable" >

```bash
TEKU_EE_JWT_CLAIM_ID=foobar
```

</TabItem>
<TabItem value="Configuration file" label="Configuration file" >

```bash
ee-jwt-claim-id: "foobar"
```

</TabItem>
</Tabs>

A unique identifier for the consensus layer client. When using the JSON-RPC API engine, this identifier is added to JWT claims as an `id` claim.

### eth1-deposit-contract-address

<Tabs>
Expand Down
35 changes: 35 additions & 0 deletions versioned_docs/version-23.12.1/reference/cli/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -652,6 +652,41 @@ ee-jwt-secret-file: "ee-jwt-secret.hex"

Shared secret used to authenticate [execution clients](../../concepts/merge.md#execution-and-consensus-clients) when using the Engine JSON-RPC API. Contents of file must be 32 hex-encoded bytes. May be a relative or absolute path. See an [example of how to generate this](../../get-started/connect/mainnet.md#1-generate-the-shared-secret).

### ee-jwt-claim-id

<Tabs>
<TabItem value="Syntax" label="Syntax" default>

```bash
--ee-jwt-claim-id=<STRING>
```

</TabItem>
<TabItem value="Example" label="Example" >

```bash
--ee-jwt-claim-id=foobar
```

</TabItem>
<TabItem value="Environment variable" label="Environment variable" >

```bash
TEKU_EE_JWT_CLAIM_ID=foobar
```

</TabItem>
<TabItem value="Configuration file" label="Configuration file" >

```bash
ee-jwt-claim-id: "foobar"
```

</TabItem>
</Tabs>

A unique identifier for the consensus layer client. When using the JSON-RPC API engine, this identifier is added to JWT claims as an `id` claim.

### eth1-deposit-contract-address

<Tabs>
Expand Down

1 comment on commit 7bd243e

@vercel
Copy link

@vercel vercel bot commented on 7bd243e Dec 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.