credentials

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: May 2, 2021 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AwsCredential

type AwsCredential struct {
	AccessKeyId     string
	SecretAccessKey string
	Region          string
}

func (*AwsCredential) AccessKeyIdPrompt

func (ac *AwsCredential) AccessKeyIdPrompt() error

func (*AwsCredential) DeleteProfilePrompt

func (ac *AwsCredential) DeleteProfilePrompt(profile string) error

func (*AwsCredential) RegionPrompt

func (ac *AwsCredential) RegionPrompt() error

func (*AwsCredential) SaveToCredentialsFilePrompt

func (ac *AwsCredential) SaveToCredentialsFilePrompt(profile string) error

func (*AwsCredential) SecretAccessKeyPrompt

func (ac *AwsCredential) SecretAccessKeyPrompt() error

type AwsCredentials

type AwsCredentials map[string]*AwsCredential

func NewAwsCredentials

func NewAwsCredentials() (AwsCredentials, error)

func (AwsCredentials) ParseAwsConfig

func (ac AwsCredentials) ParseAwsConfig(conPath string) error

func (AwsCredentials) ParseAwsCredentials

func (ac AwsCredentials) ParseAwsCredentials(acPath string) error

Jump to

Keyboard shortcuts

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