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

Function Command

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

Command returns the SSH host policy subcommand.

(ctx context.Context)

Source from the content-addressed store, hash-verified

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

Callers 1

CommandFunction · 0.92

Calls 3

WithSSHHostPolicyFunction · 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…