config

package
v0.0.0-...-8a41e16 Latest Latest
Warning

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

Go to latest
Published: Apr 5, 2023 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const (
	ACCESS_KEY = "access_key"
	SECRET_KEY = "secret_key"
)
View Source
const (
	ERROR_FMT_MISSING_CREDS = "FATAL: Credentials for account '%s' not present in configuration"
	ERROR_FMT_MISSING_KEY   = "'%s' missing from config"
)

Variables

This section is empty.

Functions

func LoadCredentials

func LoadCredentials(config io.Reader, accountId string) (*aws.Credentials, error)

Load creds for given AWS account from config

Types

type Configuration

type Configuration map[string]map[string]string

Jump to

Keyboard shortcuts

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