creds

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Feb 4, 2019 License: MIT Imports: 7 Imported by: 2

Documentation

Index

Constants

View Source
const (
	SHARED_CREDS_FILENAME  = "/.aws/credentials"
	SHARED_CREDS_PROFILE   = "default"
	SHARED_CONFIG_FILENAME = "/.aws/config"
)

Variables

This section is empty.

Functions

func LoadAwsConfig

func LoadAwsConfig() (*ini.File, error)

func SelectCredentials

func SelectCredentials(creds string, profile string) (*credentials.Credentials, error)

creds "env" or "shared" or "ec2"

Types

This section is empty.

Jump to

Keyboard shortcuts

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