aegis_aws_secretmanager

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 3, 2024 License: Apache-2.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type SecretInfo

type SecretInfo struct {
	Region string `json:"region,omitempty"`
	Name   string `json:"name"`
	Key    string `json:"key,omitempty"`
}

type SecretsManagerAuthAWS

type SecretsManagerAuthAWS struct {
	*secretsmanager.Client
}

func (*SecretsManagerAuthAWS) CreateNewSecret

func (*SecretsManagerAuthAWS) DoesSecretExist added in v0.2.3

func (s *SecretsManagerAuthAWS) DoesSecretExist(ctx context.Context, sn string) bool

func (*SecretsManagerAuthAWS) GetSecret

func (s *SecretsManagerAuthAWS) GetSecret(ctx context.Context, si SecretInfo) (string, error)

func (*SecretsManagerAuthAWS) GetSecretBinary

func (s *SecretsManagerAuthAWS) GetSecretBinary(ctx context.Context, si SecretInfo) ([]byte, error)

func (*SecretsManagerAuthAWS) GetSecretsJSON

func (s *SecretsManagerAuthAWS) GetSecretsJSON(ctx context.Context, si SecretInfo) (map[string]any, error)

func (*SecretsManagerAuthAWS) UpdateSecretAWS

Jump to

Keyboard shortcuts

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