MCPcopy
hub / github.com/smallstep/cli / WithSSHPublicKey

Function WithSSHPublicKey

utils/cautils/certificate_flow.go:72–76  ·  view source on GitHub ↗

WithSSHPublicKey sets the SSH public key used in the request.

(key ssh.PublicKey)

Source from the content-addressed store, hash-verified

70
71// WithSSHPublicKey sets the SSH public key used in the request.
72func WithSSHPublicKey(key ssh.PublicKey) Option {
73 return newFuncFlowOption(func(fo *flowContext) {
74 fo.SSHPublicKey = key
75 })
76}
77
78// WithCertificateRequest sets the X509 certificate request used in the request.
79func WithCertificateRequest(cr *x509.CertificateRequest) Option {

Callers 2

certificateActionFunction · 0.92
tokenActionFunction · 0.92

Calls 1

newFuncFlowOptionFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…