commands

package
v2.34.20 Latest Latest
Warning

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

Go to latest
Published: Mar 23, 2022 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const OneLoginOAuthPath = "/auth/oauth2/v2/token"

OneLoginOAuthPath is the path used to generate OAuth token in order to access OneLogin's API.

Variables

This section is empty.

Functions

func Configure

func Configure(configFlags *flags.CommonFlags) error

Configure configure account profiles

func Console

func Console(consoleFlags *flags.ConsoleFlags) error

Console open the aws console from the CLI

func CredentialsToCredentialProcess

func CredentialsToCredentialProcess(awsCreds *awsconfig.AWSCredentials) (string, error)

CredentialsToCredentialProcess Returns a Json output that is compatible with the AWS credential_process https://github.com/awslabs/awsprocesscreds

func Exec

func Exec(execFlags *flags.LoginExecFlags, cmdline []string) error

Exec execute the supplied command after seeding the environment

func ListRoles

func ListRoles(loginFlags *flags.LoginExecFlags) error

ListRoles will list available role ARNs

func Login

func Login(loginFlags *flags.LoginExecFlags) error

Login login to ADFS

func PrintCredentialProcess

func PrintCredentialProcess(awsCreds *awsconfig.AWSCredentials) error

PrintCredentialProcess Prints a Json output that is compatible with the AWS credential_process https://github.com/awslabs/awsprocesscreds

func Script

func Script(execFlags *flags.LoginExecFlags, shell string) error

Script will emit a bash script that will export environment variables

Types

This section is empty.

Jump to

Keyboard shortcuts

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