aws

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Mar 18, 2018 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetAwsCredentialsForProfile

func GetAwsCredentialsForProfile(profile string) (*credentials.Credentials, error)

Get AWS credentials for a specific profile in ~/.aws/credentials

func UserHomeDir

func UserHomeDir() string

UserHomeDir returns the home directory for the user the process is running under

Types

type DecryptedParameter

type DecryptedParameter struct {
	Name  string
	Value string
}

Decrypted parameter (without prefix) from Amazon SSM

type DecryptedParameters

type DecryptedParameters []DecryptedParameter

List of decrypted parameters (without prefix) from Amazon SSM

type SsmClient

type SsmClient struct {
	// contains filtered or unexported fields
}

Wrapped Amazon SSM client

func NewClient

func NewClient(awsRegion string) (*SsmClient, error)

Create new wrapped Amazon SSM client

func NewClientWithCredentials

func NewClientWithCredentials(awsRegion string, credentials *credentials.Credentials) (*SsmClient, error)

Create new wrapped Amazon SSM client

func (SsmClient) WithPrefix

func (s SsmClient) WithPrefix(prefix string) (DecryptedParameters, error)

Jump to

Keyboard shortcuts

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