Documentation ¶
Overview ¶
Package flags provides flag support for loading client/server certs and CA root of trust.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // ClientCertFile is the location to load the client cert. Binding this to a flag is often useful. ClientCertFile = path.Join(os.Getenv("HOME"), ".sansshell/client.pem") // ClientKeyFile is the location to load the client cert key. Binding this to a flag is often useful. ClientKeyFile = path.Join(os.Getenv("HOME"), ".sansshell/client.key") // ServerCertFile is the location to load the server cert. Binding this to a flag is often useful. ServerCertFile = path.Join(os.Getenv("HOME"), ".sansshell/leaf.pem") // ServerKeyFile is the location to load the server cert key. Binding this to a flag is often useful. ServerKeyFile = path.Join(os.Getenv("HOME"), ".sansshell/leaf.key") // RootCAFile is the location to load the root CA store. Binding this to a flag is often useful. RootCAFile = path.Join(os.Getenv("HOME"), ".sansshell/root.pem") )
Functions ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.