Versions in this module Expand all Collapse all v0 v0.1.1 Oct 30, 2023 v0.1.0 Jun 17, 2023 Changes in this version + var CliName string = "aws-env" + var CliVersion string = "0.1.0" + var DefaultConfigPath = "/var/task/.aws" + var HelpTemplate string = ... + var ShowVersion bool + var UsageTemplate string = ... + func Execute() + func ExportParameters(path string) + func ExportSecret(secretId string) + func ExportVar(key string, val string) + func GetAwsConfig() aws.Config + func GetParametersByPath(ctx context.Context, api SsmGetParametersByPathApi, ...) (*ssm.GetParametersByPathOutput, error) + func GetSecretValue(ctx context.Context, api SecretsManagerGetSecretValueApi, ...) (*secretsmanager.GetSecretValueOutput, error) + type ConfigObject struct + Exports []struct{ ... } + func GetConfig() ConfigObject + type LogWriter struct + func (writer LogWriter) Write(bytes []byte) (int, error) + type SecretsManagerGetSecretValueApi interface + GetSecretValue func(ctx context.Context, params *secretsmanager.GetSecretValueInput, ...) (*secretsmanager.GetSecretValueOutput, error) + type SsmGetParametersByPathApi interface + GetParametersByPath func(ctx context.Context, params *ssm.GetParametersByPathInput, ...) (*ssm.GetParametersByPathOutput, error)