sso

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Oct 6, 2022 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Login

func Login(startURL string, region string, awsSso *AWSLogin, profileName string)

Login function blablabla

func Profile

func Profile(log *logger.CustomLogger)

Types

type AWSLogin

type AWSLogin struct {
	// contains filtered or unexported fields
}

func NewLogin

func NewLogin(log *logger.CustomLogger, fileManager *file_manager.FileProcessor) *AWSLogin

func (*AWSLogin) FetchRoleCredentials

func (a *AWSLogin) FetchRoleCredentials(listAccountRolesOutput *sso.ListAccountRolesOutput, accountInfo types.AccountInfo)

func (*AWSLogin) GenerateToken

func (a *AWSLogin) GenerateToken() error

func (*AWSLogin) GetAWSConfig

func (a *AWSLogin) GetAWSConfig()

func (*AWSLogin) GetRolePaginator

func (a *AWSLogin) GetRolePaginator(accountInfo types.AccountInfo) *sso.ListAccountRolesPaginator

func (*AWSLogin) SetupSsoOidcClient

func (a *AWSLogin) SetupSsoOidcClient(startURL string)

func (*AWSLogin) TriggerLogin

func (a *AWSLogin) TriggerLogin() error

Jump to

Keyboard shortcuts

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