Documentation ¶
Index ¶
- func ConfigureAws(config *aws.Config)
- func Debug(message string, args ...interface{})
- func LoadPublicKey(publicKey string) ([]byte, error)
- func SetDebug(enable bool)
- func ValidatePublicKey(publicKeyData []byte) (string, error)
- func WriteCertificate(certificateFilename string, certificateContent string) error
- type Payload
- type Result
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigureAws ¶
ConfigureAws enable override of the default aws sdk configuration
func Debug ¶
func Debug(message string, args ...interface{})
Debug write debug messages if it is enabled
func LoadPublicKey ¶
LoadPublicKey load the public key from the supplied path
func ValidatePublicKey ¶
ValidatePublicKey validate the public key
func WriteCertificate ¶
WriteCertificate write the generated certificate out to a file
Types ¶
type Payload ¶
type Payload struct { BastionUser string `json:"bastion_user"` BastionUserIP string `json:"bastion_user_ip"` RemoteUsernames string `json:"remote_usernames"` BastionIps string `json:"bastion_ips"` BastionCommand string `json:"command"` PublicKeyToSign string `json:"public_key_to_sign"` KmsAuthToken string `json:"kms_auth_token,omitempty"` }
Payload used to encode request payload for bless lambda
Click to show internal directories.
Click to hide internal directories.