aws

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetProfiles

func GetProfiles() []string

GetProfiles returns aws profiles stored in ~/.aws/credentials

func GetRegionCode

func GetRegionCode(name string) string

GetRegionCode returns the code of the provided AWS region.

func GetRegions

func GetRegions() []string

GetRegions returns a list of AWS region names.

func GetSecrets

func GetSecrets(profile string, region string, secretName string) map[string]string

GetSecrets returns a map of secrets from AWS Secrets Manager.

func UpdateSecrets

func UpdateSecrets(profile string, region string, secretName string, data map[string]string)

UpdateSecrets adds a secret to AWS Secrets Manager from .env file

Types

This section is empty.

Jump to

Keyboard shortcuts

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