aws

package
v1.2.19 Latest Latest
Warning

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

Go to latest
Published: Jan 22, 2026 License: MIT Imports: 25 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigureSSO

func ConfigureSSO(ssoConfig SSOConfig) error

func GenerateConsoleURLFromProfile

func GenerateConsoleURLFromProfile(profile string) (string, error)

func LoginWithSAMLResponse added in v1.2.16

func LoginWithSAMLResponse(config SamlDirectLoginConfig, samlResponseFile string) error

Types

type ConfigData

type ConfigData struct {
	Profiles []ProfileConfig
	Config   SSOConfig
}

type ProfileConfig

type ProfileConfig struct {
	Name        string
	AccountID   string
	RoleName    string
	Region      string
	SessionName string
	Output      string
}

type SSOCache

type SSOCache struct {
	AccessToken           string `json:"accessToken"`
	ClientID              string `json:"clientId"`
	ClientSecret          string `json:"clientSecret"`
	ExpiresAt             string `json:"expiresAt"`
	RefreshToken          string `json:"refreshToken"`
	Region                string `json:"region"`
	RegistrationExpiresAt string `json:"registrationExpiresAt"`
	StartUrl              string `json:"startUrl"`
}

type SSOConfig

type SSOConfig struct {
	StartURL    string
	SSORegion   string
	CLIRegion   string
	SessionName string
}

type SamlDirectLoginConfig added in v1.2.16

type SamlDirectLoginConfig struct {
	Profile      string
	RoleArn      string
	PrincipalArn string
	CLIRegion    string
}

Jump to

Keyboard shortcuts

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