samlcache

package
v2.28.4 Latest Latest
Warning

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

Go to latest
Published: Mar 11, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

View Source
const (
	SAMLAssertionValidityTimeout = 5 * time.Minute
	SAMLCacheFilePermissions     = 0600
	SAMLCacheDirPermissions      = 0700
	SAMLCacheDir                 = "saml2aws"
)

Variables

View Source
var (
	ErrInvalidCachePath = errors.New("Cannot evaluate Cache file path")
)

Functions

This section is empty.

Types

type SAMLCacheProvider

type SAMLCacheProvider struct {
	Filename string
	Account  string
}

SAMLCacheProvider loads aws credentials file

func (*SAMLCacheProvider) IsValid

func (p *SAMLCacheProvider) IsValid() bool

func (*SAMLCacheProvider) Read

func (p *SAMLCacheProvider) Read() (string, error)

func (*SAMLCacheProvider) Write

func (p *SAMLCacheProvider) Write(samlAssertion string) error

Jump to

Keyboard shortcuts

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