-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #74 from osmosis-labs/boss/keyring
Implements keyring as signer
- Loading branch information
Showing
12 changed files
with
315 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,75 @@ | ||
# `beaker key` | ||
|
||
Managing key backed by system's secret store | ||
|
||
Arguments: | ||
|
||
* `--help`: Print help information | ||
|
||
* `--version`: Print version information | ||
|
||
## Subcommands | ||
|
||
### `beaker key set` | ||
|
||
Create new key or update existing key | ||
|
||
Arguments: | ||
|
||
* `--help`: Print help information | ||
|
||
* `--version`: Print version information | ||
|
||
* ` <name>`Name of the key to create or update | ||
|
||
* ` <mnemonic>`Mnemonic string to store as an entry | ||
|
||
* `-y/--yes`: Agree to all prompts | ||
|
||
--- | ||
|
||
### `beaker key delete` | ||
|
||
Delete existing key | ||
|
||
Arguments: | ||
|
||
* `--help`: Print help information | ||
|
||
* `--version`: Print version information | ||
|
||
* ` <name>`Name of the key to create or update | ||
|
||
* `-y/--yes`: Agree to all prompts | ||
|
||
--- | ||
|
||
### `beaker key address` | ||
|
||
Get address from keyring's stored key | ||
|
||
Arguments: | ||
|
||
* `--help`: Print help information | ||
|
||
* `--version`: Print version information | ||
|
||
* ` <name>`Name of the key to create or update | ||
|
||
--- | ||
|
||
### `beaker key generate` | ||
|
||
Generate new mnemonic | ||
|
||
Arguments: | ||
|
||
* `--help`: Print help information | ||
|
||
* `--version`: Print version information | ||
|
||
* ` <name>`Name of the key to create or update | ||
|
||
* `--show`: Show mnemonic in the console if set, keep it secret otherwise | ||
|
||
* `-y/--yes`: Agree to all prompts |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
use data_doc_derive::GetDataDocs; | ||
use serde::Deserialize; | ||
use serde::Serialize; | ||
|
||
#[derive(Serialize, Deserialize, GetDataDocs, Default)] | ||
pub struct KeyConfig {} | ||
|
||
pub const SERVICE: &str = "beaker"; |
Oops, something went wrong.