Documentation ¶
Overview ¶
Package twofa contains routines for getting short lived certificate.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( // Duration of generated cert. Default 16 hours. Duration = flag.Duration("duration", 16*time.Hour, "Duration of the requested certificates in golang duration format (ex: 30s, 5m, 12h)") )
Functions ¶
func GetCertFromTargetUrls ¶
func GetCertFromTargetUrls( signer crypto.Signer, userName string, password []byte, targetUrls []string, skipu2f bool, addGroups bool, client *http.Client, userAgentString string, logger log.DebugLogger) (sshCert []byte, x509Cert []byte, kubernetesCert []byte, err error)
GetCertFromTargetUrls gets a signed cert from the given target URLs.
Types ¶
This section is empty.
Directories ¶
Path | Synopsis |
---|---|
Package vip does two factor authentication with Symantec VIP or Okta
|
Package vip does two factor authentication with Symantec VIP or Okta |
Package twofa contains routines for getting short lived certificate.
|
Package twofa contains routines for getting short lived certificate. |
Package twofa contains routines for getting short lived certificate.
|
Package twofa contains routines for getting short lived certificate. |
Click to show internal directories.
Click to hide internal directories.