sharedStructs

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Sep 4, 2024 License: GPL-3.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigsSplitter

func ConfigsSplitter(r rune) bool

func CredentialFileSplitter

func CredentialFileSplitter(r rune) bool
type MFAInfo struct {
	profilename   string
	opdomain      string
	opuuid        string
	password      string
	accountnumber string
	switchrole    string
	lock          *sync.Mutex
	awsSession    SessionInfo
	region        string
}

Types

type AccountIdNameRole

type AccountIdNameRole struct {
	Id        *string
	Name      *string
	Role      *string
	Overriden *bool
}

type AccountObject

type AccountObject struct {
	AccountName     *string
	AccountID       *string
	AccessKey       *string
	SecretAccessKey *string
	Token           *string
}

type SSOSessionSettings

type SSOSessionSettings struct {
	SSOAccountID   string
	SSOAccountRole string
	SsoURL         string
	AccountRegion  string
	SSORegion      string
	Alias          string
}

type SSOSettingsObject

type SSOSettingsObject struct {
	Alias          *string
	SSOAccessToken *string
	Region         *string
	SsoClient      *sso.Client
	Accounts       *[]AccountIdNameRole
}

type STSConfig

type STSConfig struct {
	STS stsiface.STSAPI
}

type SessionInfo

type SessionInfo struct {
	Accesskey       string
	SecretAccessKey string
	Token           string
}

Jump to

Keyboard shortcuts

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