Documentation ¶
Index ¶
- type Client
- type KeyManagementService
- func (kms *KeyManagementService) Close(ctx context.Context) error
- func (kms *KeyManagementService) GetSecret(ctx context.Context, ref esv1alpha1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (kms *KeyManagementService) GetSecretMap(ctx context.Context, ref esv1alpha1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
- func (kms *KeyManagementService) NewClient(ctx context.Context, store esv1alpha1.GenericStore, kube kclient.Client, ...) (provider.SecretsClient, error)
- type SMInterface
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type KeyManagementService ¶
type KeyManagementService struct {
Client SMInterface
}
func (*KeyManagementService) Close ¶
func (kms *KeyManagementService) Close(ctx context.Context) error
func (*KeyManagementService) GetSecret ¶
func (kms *KeyManagementService) GetSecret(ctx context.Context, ref esv1alpha1.ExternalSecretDataRemoteRef) ([]byte, error)
GetSecret returns a single secret from the provider.
func (*KeyManagementService) GetSecretMap ¶
func (kms *KeyManagementService) GetSecretMap(ctx context.Context, ref esv1alpha1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
GetSecretMap returns multiple k/v pairs from the provider.
func (*KeyManagementService) NewClient ¶
func (kms *KeyManagementService) NewClient(ctx context.Context, store esv1alpha1.GenericStore, kube kclient.Client, namespace string) (provider.SecretsClient, error)
NewClient constructs a new secrets client based on the provided store.
type SMInterface ¶
type SMInterface interface {
GetSecretValue(request *kmssdk.GetSecretValueRequest) (response *kmssdk.GetSecretValueResponse, err error)
}
Click to show internal directories.
Click to hide internal directories.