| 1 |
package key |
| 2 |
|
| 3 |
import ( |
| 4 |
"github.com/urfave/cli" |
| 5 |
) |
| 6 |
|
| 7 |
|
| 8 |
func Command() cli.Command { |
| 9 |
return cli.Command{ |
| 10 |
Name: "key", |
| 11 |
Usage: "manage keys", |
| 12 |
UsageText: "step crypto key SUBCOMMAND [ARGUMENTS] [GLOBAL_FLAGS] [SUBCOMMAND_FLAGS]", |
| 13 |
Description: `**step crypto key** command group provides facilities for |
| 14 |
managing cryptographic keys. |
| 15 |
|
| 16 |
## EXAMPLES |
| 17 |
|
| 18 |
Convert PEM format to PKCS8. |
| 19 |
''' |
| 20 |
$ step crypto key format foo-key.pem |
| 21 |
''' |
| 22 |
`, |
| 23 |
|
| 24 |
Subcommands: cli.Commands{ |
| 25 |
formatCommand(), |
| 26 |
publicCommand(), |
| 27 |
inspectCommand(), |
| 28 |
fingerprintCommand(), |
| 29 |
}, |
| 30 |
} |
| 31 |
} |