ipfs / kubo

An IPFS implementation in Go
https://docs.ipfs.tech/how-to/command-line-quick-start/
Other
15.83k stars 2.96k forks source link

Get key by name #10415

Open Hugo-Trentesaux opened 2 weeks ago

Hugo-Trentesaux commented 2 weeks ago

Checklist

Description

Forum discussion: https://discuss.ipfs.tech/t/get-key-by-name/17901

Kubo lets the user create keys by name ipfs key gen <name> but currently the only way to get a public key given its name is to parse the list of keys output by ipfs key list -l.

The idea of the feature would be to allow the user to retrieve the public key by name with something like ipfs key get --name <name>.