credentials

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Nov 24, 2022 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FillAWSProfile added in v0.1.0

func FillAWSProfile(pathToCredentialsFile string, profileName string, paramsToFill map[string]string) error

FillAWSProfile receives the AWS profile name, then parses the accessKeyId / secretAccessKey values into a map

func GetAWSProfiles

func GetAWSProfiles() ([]string, error)

GetAWSProfiles returns a list of AWS forprofiles set up on the user's sytem

Types

type AWSResourceConfig added in v0.1.0

type AWSResourceConfig struct {
	AccessKeyID     string `key:"accessKeyId"`
	SecretAccessKey string `key:"secretAccessKey"`
}

Jump to

Keyboard shortcuts

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