secretsmanager

package
v0.0.6-beta Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DATABASE_CREDENTIALS = "database_credentials"
	AUTH_PRIVATE_KEY     = "auth_private_key"
	AUTH_PUBLIC_KEY      = "auth_public_key"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretsManagerClient

type SecretsManagerClient struct {
	Client SecretsManagerClientIface
}

func NewSecretsManagerClient

func NewSecretsManagerClient(config *config.Config) (*SecretsManagerClient, error)

func (*SecretsManagerClient) GetSecretValue

func (s *SecretsManagerClient) GetSecretValue(id string, key string) (*string, error)

type SecretsManagerClientIface

type SecretsManagerClientIface interface {
	GetSecretValue(ctx context.Context, params *secretsmanager_v2.GetSecretValueInput, optFns ...func(*secretsmanager_v2.Options)) (*secretsmanager_v2.GetSecretValueOutput, error)
}

Jump to

Keyboard shortcuts

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