Documentation
¶
Overview ¶
Package cloudletssh provides for a shareable, on-demand provider of signed ssh keys.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var RefreshInlineBufferDuration = time.Minute
var RefreshLazyBufferDuration = 2 * time.Hour
var SignSSHKeyTimeout = 30 * time.Second
Functions ¶
This section is empty.
Types ¶
type KeySigner ¶
type KeySigner interface {
// SignSSHKey signs the user's public key and returns a signed ssh certificate
SignSSHKey(ctx context.Context, publicKey string) (string, error)
}
KeySigner is used to sign the user's public key
type SSHKey ¶
type SSHKey struct {
// contains filtered or unexported fields
}
SSHKey provides on-demand signed ssh certificates for authenticating with VMs created by the platform.