Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type MapCache ¶
type MapCache struct {
// contains filtered or unexported fields
}
MapCache stores credentials in a map object based on the hop information
type NullCache ¶
type NullCache struct{}
NullCache implements an empty cache which stores nothing
type Path ¶
type Path []Hop
Path defines a set of hops to reach the target account
func (Path) Traverse ¶
Traverse executes a path and returns the final resulting credentials using the default set of TraverseOptions
func (Path) TraverseWithOptions ¶
func (p Path) TraverseWithOptions(opts TraverseOptions) (creds.Creds, error)
TraverseWithOptions executes a path and returns the final resulting credentials
type TraverseOptions ¶
type TraverseOptions struct { MfaCode string MfaPrompt creds.MfaPrompt Store profiles.Store Cache Cache SessioName string Lifetime int64 }
TraverseOptions defines the parameters for traversing a path
func DefaultTraverseOptions ¶
func DefaultTraverseOptions() TraverseOptions
DefaultTraverseOptions returns a standard set of TraverseOptions
Click to show internal directories.
Click to hide internal directories.