aws

package
v0.0.0-...-c2f8fcc Latest Latest
Warning

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

Go to latest
Published: Jan 14, 2021 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetSecretData

func GetSecretData(api secretsmanageriface.SecretsManagerAPI, secretValueInput *secretsmanager.GetSecretValueInput) (map[string]interface{}, error)

GetSecretData will fetch the secret from secret manager

func RetrieveSecret

func RetrieveSecret(cfg *Config) (map[string]interface{}, error)

RetrieveSecret from AWS secrets manager

Types

type Config

type Config struct {
	Region          string
	SecretName      *string
	PreviousVersion string
	RoleARN         string
}

Config configuration for AWS

Jump to

Keyboard shortcuts

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