twofa

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: Oct 22, 2019 License: Apache-2.0 Imports: 24 Imported by: 1

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 twofa contains routines for getting short lived certificate.
Package twofa contains routines for getting short lived certificate.
Package vip does two factor authentication with Symantec VIP
Package vip does two factor authentication with Symantec VIP

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL