Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var DefaultPath = "./sshrimp.toml"
DefaultPath of the sshrimp config file
View Source
var EnvVarName = "SSHRIMP_CONFIG"
EnvVarName is the optional environment variable that if set overrides DefaultPath
Functions ¶
Types ¶
type Agent ¶
type Agent struct { ProviderURL string ClientID string ClientSecret string BrowserCommand []string Socket string }
Agent config for the sshrimp-agent agent
type CertificateAuthority ¶
type CertificateAuthority struct { AccountID int Regions []string FunctionName string KeyAlias string ForceCommandRegex string SourceAddressRegex string UsernameRegex string UsernameClaim string ValidAfterOffset string ValidBeforeOffset string Extensions []string ProvisioningUser string }
CertificateAuthority config for the sshrimp-ca lambda
type SSHrimp ¶
type SSHrimp struct { Agent Agent CertificateAuthority CertificateAuthority }
SSHrimp main configuration struct for sshrimp-agent and sshrimp-ca
func NewSSHrimpWithDefaults ¶
func NewSSHrimpWithDefaults() *SSHrimp
NewSSHrimpWithDefaults returns SSHrimp with defaults already set
Click to show internal directories.
Click to hide internal directories.