alibaba

package
v0.8.3 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: Apache-2.0 Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SanitizeErr added in v0.7.3

func SanitizeErr(err error) error

SanitizeErr sanitizes the error string because the requestID must not be included in the error. otherwise the secrets keeps syncing.

Types

type KeyManagementService

type KeyManagementService struct {
	Client SMInterface
	Config *openapi.Config
}

func (*KeyManagementService) Capabilities added in v0.7.0

Capabilities return the provider supported capabilities (ReadOnly, WriteOnly, ReadWrite).

func (*KeyManagementService) Close

func (kms *KeyManagementService) Close(_ context.Context) error

func (*KeyManagementService) DeleteSecret added in v0.7.0

func (*KeyManagementService) GetAllSecrets added in v0.5.0

Empty GetAllSecrets.

func (*KeyManagementService) GetSecret

GetSecret returns a single secret from the provider.

func (*KeyManagementService) GetSecretMap

GetSecretMap returns multiple k/v pairs from the provider.

func (*KeyManagementService) NewClient

NewClient constructs a new secrets client based on the provided store.

func (*KeyManagementService) PushSecret added in v0.7.0

func (*KeyManagementService) Validate added in v0.4.2

func (*KeyManagementService) ValidateStore added in v0.5.0

func (kms *KeyManagementService) ValidateStore(store esv1beta1.GenericStore) error

type SMInterface

type SMInterface interface {
	GetSecretValue(ctx context.Context, request *kmssdk.GetSecretValueRequest) (*kmssdk.GetSecretValueResponseBody, error)
	Endpoint() string
}

type SecretsManagerClient added in v0.7.3

type SecretsManagerClient interface {
	GetSecretValue(
		ctx context.Context,
		request *kms.GetSecretValueRequest,
	) (*kms.GetSecretValueResponseBody, error)
	Endpoint() string
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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