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