aws

package
v1.1.3 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2025 License: MIT Imports: 24 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)

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
}

Jump to

Keyboard shortcuts

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