Documentation
¶
Index ¶
- func AssumeRole(login saml.LoginData, desiredRole string) (*sts.AssumeRoleWithSAMLOutput, error)
- func AssumeRoleFromCache(role string) *sts.AssumeRoleWithSAMLOutput
- func CacheCredentials(roleName string, creds *sts.AssumeRoleWithSAMLOutput)
- func CacheLoginRoles(roles []saml.LoginRole)
- func EnrichedEnvironment(extraEnv map[string]string) []string
- func Exec(command []string, environment []string) error
- func GetLoginData() (saml.LoginData, error)
- func GetRolesFromCache() ([]saml.LoginRole, bool)
- func ResolveRole(roleName string) string
- func WriteCache()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AssumeRole ¶
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 EnrichedEnvironment ¶
func GetLoginData ¶
func GetRolesFromCache ¶ added in v1.1.0
func ResolveRole ¶
func WriteCache ¶ added in v1.3.3
func WriteCache()
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.