aws

package
v0.0.0-...-6783019 Latest Latest
Warning

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

Go to latest
Published: Jan 10, 2024 License: Apache-2.0 Imports: 22 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrNoRegion               = errors.New("no region found")
	ErrNoRolesFound           = errors.New("no aws roles found")
	ErrNotAccounts            = errors.New("no accounts available")
	ErrMissingResponseElement = errors.New("missing response element")
)

Functions

func NewServiceProvider

func NewServiceProvider(itemSelector provider.SelectItemFunc) sp.ServiceProvider

Types

type ServiceProvider

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

func (*ServiceProvider) ConfigurationItems

func (p *ServiceProvider) ConfigurationItems() config.ConfigurationSet

func (*ServiceProvider) PopulateAccount

func (p *ServiceProvider) PopulateAccount(account *cfg.IDPAccount, cfg config.ConfigurationSet) error

func (*ServiceProvider) ProcessAssertions

func (p *ServiceProvider) ProcessAssertions(account *cfg.IDPAccount, samlAssertions string, cfg config.ConfigurationSet) (identity.Identity, error)

func (*ServiceProvider) ResolveConfiguration

func (p *ServiceProvider) ResolveConfiguration(cfg config.ConfigurationSet) error

ResolveConfiguration will resolve the values for the AWS specific config items that have no value. It will query AWS and interactively ask the user for selections.

func (*ServiceProvider) Validate

func (p *ServiceProvider) Validate(configItems config.ConfigurationSet) error

Jump to

Keyboard shortcuts

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