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 ¶
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 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)
Click to show internal directories.
Click to hide internal directories.