Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Config ¶
type Config struct {
Username string `mapstructure:"username"`
Hostname string `mapstructure:"hostname"`
Port int `mapstructure:"port"`
SSHCommand string `mapstructure:"ssh_command"`
OTPEnabled bool `mapstructure:"otp_enabled"`
OTPCallbackCommand string `mapstructure:"otp_callback_command"`
OTPShellCommand string `mapstructure:"otp_shell_command"`
OpenBao OpenBaoConfig `mapstructure:"openbao"`
}
type OpenBaoConfig ¶ added in v0.2.0
type OpenBaoConfig struct {
Enabled bool `mapstructure:"enabled"`
Address string `mapstructure:"address"`
MountPath string `mapstructure:"mount_path"`
Role string `mapstructure:"role"`
PublicKey string `mapstructure:"public_key"`
PrivateKey string `mapstructure:"private_key"`
CertOutput string `mapstructure:"cert_output"`
TTL string `mapstructure:"ttl"`
}
OpenBaoConfig configures signing of an SSH key by an OpenBao SSH secrets engine to obtain a short-lived certificate used to authenticate to the bastion.
Click to show internal directories.
Click to hide internal directories.