Skip to content

Commit

Permalink
Import not supported in aws documentation + cli help correction (#230)
Browse files Browse the repository at this point in the history
* Import help corrected to <secret-key> from <pkh>
  • Loading branch information
AbineshECAD authored Sep 9, 2022
1 parent 83be99f commit 7ed8d09
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cmd/commands/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ func NewImportCommand(c *Context) *cobra.Command {
)

importCmd := &cobra.Command{
Use: "import <pkh>",
Use: "import <secret-key>",
Short: "Import Tezos private keys (edsk..., spsk..., p2sk...)",
Args: cobra.MinimumNArgs(1),
RunE: func(cmd *cobra.Command, args []string) error {
Expand Down
4 changes: 3 additions & 1 deletion docs/aws_kms.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,4 +33,6 @@ access_key_id | string | OPTIONAL | IAM user detail
secret_access_key | string | OPTIONAL | IAM user detail
region | string | ✅ | Region where key is created

The fields `access_key_id` & `secret_access_key` can be set in the environment variables `AWS_ACCESS_KEY_ID` & `AWS_SECRET_ACCESS_KEY` respectively.
The fields `access_key_id` & `secret_access_key` can be set in the environment variables `AWS_ACCESS_KEY_ID` & `AWS_SECRET_ACCESS_KEY` respectively.

Import command is not available for aws as there is no support for asymmetric keys in AWS KMS. (Ref: <https://docs.aws.amazon.com/kms/latest/developerguide/importing-keys.html>)

0 comments on commit 7ed8d09

Please sign in to comment.