Documentation ¶
Index ¶
- func NewAlgorithmSignerFromSigner(signer crypto.Signer, algorithm string) (ssh.Signer, error)
- func SignCertificateAllRegions(publicKey ssh.PublicKey, token string, forceCommand string, c *config.SSHrimp) (*ssh.Certificate, error)
- func SignCertificateOneRegion(publicKey ssh.PublicKey, token string, forceCommand string, region string, ...) (*ssh.Certificate, error)
- type KMSSigner
- type SSHrimpEvent
- type SSHrimpResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewAlgorithmSignerFromSigner ¶
NewAlgorithmSignerFromSigner returns a ssh.Signer with a different default algorithm. Waiting for upstream changes to x/crypto/ssh, see: https://github.com/golang/go/issues/36261
Types ¶
type KMSSigner ¶
KMSSigner an AWS asymetric crypto signer
func NewKMSSigner ¶
NewKMSSigner return a new instsance of KMSSigner
type SSHrimpEvent ¶
type SSHrimpEvent struct { PublicKey string `json:"publickey"` Token string `json:"token"` SourceAddress string `json:"sourceaddress"` ForceCommand string `json:"forcecommand"` }
SSHrimpEvent encodes the user input for the sshrimp-ca lambda
type SSHrimpResult ¶
type SSHrimpResult struct { Certificate string `json:"certificate"` ErrorMessage string `json:"errorMessage"` ErrorType string `json:"errorType"` }
SSHrimpResult encodes the payload format returned from the sshrimp-ca lambda
Click to show internal directories.
Click to hide internal directories.