parameterstore

package
v0.9.7 Latest Latest
Warning

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

Go to latest
Published: Oct 20, 2023 License: Apache-2.0 Imports: 19 Imported by: 0

Documentation

Overview

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Index

Constants

This section is empty.

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, 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.PushRemoteRef) 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, value []byte, _ *apiextensionsv1.JSON, remoteRef esv1beta1.PushRemoteRef) error

func (*ParameterStore) Validate added in v0.4.2

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

Directories

Path Synopsis
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License.

Jump to

Keyboard shortcuts

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