twofa

package
Version: v1.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 12, 2021 License: Apache-2.0 Imports: 24 Imported by: 2

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.

Source Files

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
t or T : Toggle theme light dark auto
y or Y : Canonical URL