parameterstore

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Aug 2, 2024 License: Apache-2.0 Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const (
	PushSecretType  = "parameterStoreType"
	StoreTypeString = "String"
	StoreKeyID      = "parameterStoreKeyID"
	PushSecretKeyID = "keyID"
)

Declares metadata information for pushing secrets to AWS Parameter Store.

Variables

This section is empty.

Functions

This section is empty.

Types

type PMInterface

type PMInterface interface {
	GetParameterWithContext(aws.Context, *ssm.GetParameterInput, ...request.Option) (*ssm.GetParameterOutput, error)
	GetParametersByPathWithContext(aws.Context, *ssm.GetParametersByPathInput, ...request.Option) (*ssm.GetParametersByPathOutput, error)
	PutParameterWithContext(aws.Context, *ssm.PutParameterInput, ...request.Option) (*ssm.PutParameterOutput, error)
	DescribeParametersWithContext(aws.Context, *ssm.DescribeParametersInput, ...request.Option) (*ssm.DescribeParametersOutput, error)
	ListTagsForResourceWithContext(aws.Context, *ssm.ListTagsForResourceInput, ...request.Option) (*ssm.ListTagsForResourceOutput, error)
	DeleteParameterWithContext(ctx aws.Context, input *ssm.DeleteParameterInput, opts ...request.Option) (*ssm.DeleteParameterOutput, error)
}

PMInterface is a subset of the parameterstore api. see: https://docs.aws.amazon.com/sdk-for-go/api/service/ssm/ssmiface/

type ParameterStore

type ParameterStore struct {
	// contains filtered or unexported fields
}

ParameterStore is a provider for AWS ParameterStore.

func New

func New(sess *session.Session, cfg *aws.Config, prefix string, referentAuth bool) (*ParameterStore, error)

New constructs a ParameterStore Provider that is specific to a store.

func (*ParameterStore) Close added in v0.2.1

func (pm *ParameterStore) Close(_ context.Context) error

func (*ParameterStore) DeleteSecret added in v0.7.0

func (pm *ParameterStore) DeleteSecret(ctx context.Context, remoteRef esv1beta1.PushSecretRemoteRef) error

func (*ParameterStore) GetAllSecrets added in v0.5.0

func (pm *ParameterStore) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)

GetAllSecrets fetches information from multiple secrets into a single kubernetes secret.

func (*ParameterStore) GetSecret

GetSecret returns a single secret from the provider.

func (*ParameterStore) GetSecretMap

GetSecretMap returns multiple k/v pairs from the provider.

func (*ParameterStore) PushSecret added in v0.7.0

func (pm *ParameterStore) PushSecret(ctx context.Context, secret *corev1.Secret, data esv1beta1.PushSecretData) error

func (*ParameterStore) SecretExists added in v0.9.14

func (*ParameterStore) Validate added in v0.4.2

func (pm *ParameterStore) Validate() (esv1beta1.ValidationResult, error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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