Skip to content

Add --http-token-path flag to the VC #6563

Closed
@michaelsproul

Description

@michaelsproul

Description

We considered the issue of VC HTTP token provisioning solved with the closure of:

However, we didn't add a CLI flag to set the token path. This issue tracks the addition of this flag.

Present Behaviour

Lighthouse always reads and writes the token from the $datadir/validators/api-token.txt path.

Expected Behaviour

If the user supplies the --http-token-path to the VC then the token should be read/written from this path instead. The flag should require the --http flag to also have been provided.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions