Add a keys delete
command to remove keys from Hermes configuration
#1065
Labels
I: CLI
Internal: related to the relayer's CLI
O: new-feature
Objective: cause to add a new feature or support
Milestone
Crate
Hermes should provide a command to remove keys from its configuration. This might help with key maintenance and also to remove incompatible keys.
Summary
As a user/operator I want to have a command to remove a previously added keys for a chain removed from Hermes keys store (`~/.hermes/keys)
Problem Definition
Currently we only support updating keys adding or restoring them again. But there might be cases where a key needs to be removed (e.g. incompatible key)
Proposal
We should implement a command e.g.
keys delete [chain-id] -n [key-name]
We could also implement a
keys delete --all
to clean the whole key store if it makes sense.Acceptance Criteria
Keys are removed using the Hermes command
For Admin Use
The text was updated successfully, but these errors were encountered: