Documentation ¶
Index ¶
- type SMInterface
- type SecretsManager
- func (sm *SecretsManager) Capabilities() esv1beta1.SecretStoreCapabilities
- func (sm *SecretsManager) Close(ctx context.Context) error
- func (sm *SecretsManager) DeleteSecret(ctx context.Context, remoteRef esv1beta1.PushRemoteRef) error
- func (sm *SecretsManager) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
- func (sm *SecretsManager) GetSecret(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
- func (sm *SecretsManager) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
- func (sm *SecretsManager) PushSecret(ctx context.Context, value []byte, remoteRef esv1beta1.PushRemoteRef) error
- func (sm *SecretsManager) Validate() (esv1beta1.ValidationResult, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SMInterface ¶
type SMInterface interface { ListSecrets(*awssm.ListSecretsInput) (*awssm.ListSecretsOutput, error) GetSecretValue(*awssm.GetSecretValueInput) (*awssm.GetSecretValueOutput, error) CreateSecretWithContext(aws.Context, *awssm.CreateSecretInput, ...request.Option) (*awssm.CreateSecretOutput, error) GetSecretValueWithContext(aws.Context, *awssm.GetSecretValueInput, ...request.Option) (*awssm.GetSecretValueOutput, error) PutSecretValueWithContext(aws.Context, *awssm.PutSecretValueInput, ...request.Option) (*awssm.PutSecretValueOutput, error) DescribeSecretWithContext(aws.Context, *awssm.DescribeSecretInput, ...request.Option) (*awssm.DescribeSecretOutput, error) DeleteSecretWithContext(ctx aws.Context, input *awssm.DeleteSecretInput, opts ...request.Option) (*awssm.DeleteSecretOutput, error) }
SMInterface is a subset of the smiface api. see: https://docs.aws.amazon.com/sdk-for-go/api/service/secretsmanager/secretsmanageriface/
type SecretsManager ¶
type SecretsManager struct {
// contains filtered or unexported fields
}
SecretsManager is a provider for AWS SecretsManager.
func (*SecretsManager) Capabilities ¶ added in v0.7.0
func (sm *SecretsManager) Capabilities() esv1beta1.SecretStoreCapabilities
func (*SecretsManager) Close ¶ added in v0.2.1
func (sm *SecretsManager) Close(ctx context.Context) error
func (*SecretsManager) DeleteSecret ¶ added in v0.7.0
func (sm *SecretsManager) DeleteSecret(ctx context.Context, remoteRef esv1beta1.PushRemoteRef) error
func (*SecretsManager) GetAllSecrets ¶ added in v0.5.0
func (sm *SecretsManager) GetAllSecrets(ctx context.Context, ref esv1beta1.ExternalSecretFind) (map[string][]byte, error)
GetAllSecrets syncs multiple secrets from aws provider into a single Kubernetes Secret.
func (*SecretsManager) GetSecret ¶
func (sm *SecretsManager) GetSecret(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) ([]byte, error)
GetSecret returns a single secret from the provider.
func (*SecretsManager) GetSecretMap ¶
func (sm *SecretsManager) GetSecretMap(ctx context.Context, ref esv1beta1.ExternalSecretDataRemoteRef) (map[string][]byte, error)
GetSecretMap returns multiple k/v pairs from the provider.
func (*SecretsManager) PushSecret ¶ added in v0.7.0
func (sm *SecretsManager) PushSecret(ctx context.Context, value []byte, remoteRef esv1beta1.PushRemoteRef) error
func (*SecretsManager) Validate ¶ added in v0.4.2
func (sm *SecretsManager) Validate() (esv1beta1.ValidationResult, error)
Click to show internal directories.
Click to hide internal directories.