MCPcopy Create free account
hub / github.com/smallstep/cli / Command

Function Command

command/ca/policy/ssh/user/user.go:12–24  ·  view source on GitHub ↗

Command returns the SSH user policy subcommand.

(ctx context.Context)

Source from the content-addressed store, hash-verified

10
11// Command returns the SSH user policy subcommand.
12func 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}

Callers 1

CommandFunction · 0.92

Calls 3

WithSSHUserPolicyFunction · 0.92
allowCommandFunction · 0.70
denyCommandFunction · 0.70

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…