cli

package
v1.4.2 Latest Latest
Warning

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

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 16 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AssumeRole

func AssumeRole(login saml.LoginData, desiredRole string) (*sts.AssumeRoleWithSAMLOutput, error)

func AssumeRoleFromCache

func AssumeRoleFromCache(role string) *sts.AssumeRoleWithSAMLOutput

func CacheCredentials added in v1.1.0

func CacheCredentials(roleName string, creds *sts.AssumeRoleWithSAMLOutput)

func CacheLoginRoles added in v1.1.0

func CacheLoginRoles(roles []saml.LoginRole)

func EnrichedEnvironment

func EnrichedEnvironment(extraEnv map[string]string) []string

func Exec

func Exec(command []string, environment []string) error

func GetLoginData

func GetLoginData() (saml.LoginData, error)

func GetRolesFromCache added in v1.1.0

func GetRolesFromCache() ([]saml.LoginRole, bool)

func ResolveRole

func ResolveRole(roleName string) string

func WriteCache added in v1.3.3

func WriteCache()

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳