--private-key-path option should work for any instance where a private key is required

Description

Version
rnode --version
RChain Node 0.9.7.gitf0299e4c

Observation
The `--private-key-path` feature works for signing deployments. It does not work when passing in a key to start a node as a validator.

1 2 rnode run --network=testnet1.3 --bootstrap=$BOOTSTRAP --store-type v2 --map-size 1099511627776 --private-key-path ./validator.key [rchain] Error: Unknown option 'private-key-path'

Expected outcome
`--private-key-path` feature should work any time a user needs to provide a private key, when starting a node as a validator and when deploying a contract.

Environment

None

Status

Assignee

Daniyar Itegulov

Reporter

Kelly Foster

Priority

Medium

Affects versions

RNode-0.9.7

Components

Sprint

None

Epic Link

None

Fix versions