cmd

package
v0.0.0-...-90cde2e Latest Latest
Warning

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

Go to latest
Published: Nov 21, 2022 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var RootCmd = &cobra.Command{
	Use:   "onelogin-aws-connector",
	Short: "Generate AWS Credentials with OneLogin SAML",
	Long: `This is a CLI command to generate AWS credentials with OneLogin SAML
This command write to credentials to ~/.aws/config and ~/.aws/credentials.`,
}

RootCmd represents the base command when called without any subcommands

View Source
var (
	// Version is release version
	Version string
)

Functions

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

Types

type LoginEvent

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

func NewLoginEvent

func NewLoginEvent(reader *bufio.Reader) *LoginEvent

func (*LoginEvent) ChooseDeviceIndex

func (m *LoginEvent) ChooseDeviceIndex(devices []samlassertion.GenerateResponseFactorDevice) (int, error)

func (*LoginEvent) InputMFAToken

func (m *LoginEvent) InputMFAToken() (string, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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