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