Command returns the SSH host policy subcommand.
(ctx context.Context)
| 10 | |
| 11 | // Command returns the SSH host policy subcommand. |
| 12 | func Command(ctx context.Context) cli.Command { |
| 13 | ctx = policycontext.WithSSHHostPolicy(ctx) |
| 14 | return cli.Command{ |
| 15 | Name: "host", |
| 16 | Usage: "manage SSH host certificate issuance policies", |
| 17 | UsageText: "**step ca policy ssh host** <subcommand> [arguments] [global-flags] [subcommand-flags]", |
| 18 | Description: `**step ca policy ssh host** command group provides facilities for managing SSH host certificate issuance policies.`, |
| 19 | Subcommands: cli.Commands{ |
| 20 | allowCommand(ctx), |
| 21 | denyCommand(ctx), |
| 22 | }, |
| 23 | } |
| 24 | } |
no test coverage detected
searching dependent graphs…