beyondtrust

package
v0.11.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2024 License: Apache-2.0 Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ESOLogger = ctrl.Log.WithName("provider").WithName("beyondtrust")
)

Functions

This section is empty.

Types

type AuthenticatorInput added in v0.11.0

type AuthenticatorInput struct {
	Config                     *esv1beta1.BeyondtrustProvider
	HTTPClientObj              utils.HttpClientObj
	BackoffDefinition          *backoff.ExponentialBackOff
	APIURL                     string
	ClientID                   string
	ClientSecret               string
	APIKey                     string
	Logger                     *logging.LogrLogger
	RetryMaxElapsedTimeMinutes int
}

type Provider

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

Provider is a Password Safe secrets provider implementing NewClient and ValidateStore for the esv1beta1.Provider interface.

func (*Provider) Capabilities

func (*Provider) Capabilities() esv1beta1.SecretStoreCapabilities

Capabilities implements v1beta1.Provider.

func (*Provider) Close

func (*Provider) Close(_ context.Context) error

Close implements v1beta1.SecretsClient.

func (*Provider) DeleteSecret

DeleteSecret implements v1beta1.SecretsClient.

func (*Provider) GetAllSecrets

func (p *Provider) GetAllSecrets(_ context.Context, _ esv1beta1.ExternalSecretFind) (map[string][]byte, error)

func (*Provider) GetSecret

GetSecret reads the secret from the Password Safe server and returns it. The controller uses the value here to create the Kubernetes secret.

func (*Provider) GetSecretMap

GetSecretMap implements v1beta1.SecretsClient.

func (*Provider) NewClient

func (p *Provider) NewClient(ctx context.Context, store esv1beta1.GenericStore, kube client.Client, namespace string) (esv1beta1.SecretsClient, error)

NewClient this is where we initialize the SecretClient and return it for the controller to use.

func (*Provider) PushSecret

PushSecret implements v1beta1.SecretsClient.

func (*Provider) SecretExists

func (*Provider) Validate

func (p *Provider) Validate() (esv1beta1.ValidationResult, error)

Validate implements v1beta1.SecretsClient.

func (*Provider) ValidateStore

func (p *Provider) ValidateStore(store esv1beta1.GenericStore) (admission.Warnings, error)

ValidateStore validates the store configuration to prevent unexpected errors.

Jump to

Keyboard shortcuts

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