secrets

package
v1.117.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 22, 2026 License: MIT Imports: 28 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewSecretController

func NewSecretController(tlsValidator tlsvalidation.Validator) models.Controller

NewSecretController Constructor

Types

type SecretHandler

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

SecretHandler Instance variables

func Init

func Init(opts ...SecretHandlerOptions) *SecretHandler

Init Constructor. Use the WithAccounts configuration function to configure a 'ready to use' SecretHandler. SecretHandlerOptions are processed in the sequence they are passed to this function.

func (*SecretHandler) ChangeComponentSecret

func (eh *SecretHandler) ChangeComponentSecret(ctx context.Context, appName, envName, componentName, secretName string, componentSecret models.SecretParameters) error

ChangeComponentSecret handler for HandleChangeComponentSecret

func (*SecretHandler) GetAzureKeyVaultSecretVersions

func (eh *SecretHandler) GetAzureKeyVaultSecretVersions(appName, envName, componentName, azureKeyVaultName, secretId string) ([]models.AzureKeyVaultSecretVersion, error)

GetAzureKeyVaultSecretVersions Gets list of Azure Key vault secret versions for the storage in the component

func (*SecretHandler) UpdateComponentExternalDNSSecretData

func (eh *SecretHandler) UpdateComponentExternalDNSSecretData(ctx context.Context, appName, envName, componentName, fqdn string, certificate, privateKey string, skipValidation bool) error

type SecretHandlerOptions

type SecretHandlerOptions func(*SecretHandler)

SecretHandlerOptions defines a configuration function

func WithAccounts

func WithAccounts(accounts apiModels.Accounts) SecretHandlerOptions

WithAccounts configures all SecretHandler fields

func WithTLSValidator

func WithTLSValidator(tlsValidator tlsvalidation.Validator) SecretHandlerOptions

WithAccounts configures all SecretHandler fields

Directories

Path Synopsis
file deepcode ignore HardcodedPassword: does not contain a secret value
file deepcode ignore HardcodedPassword: does not contain a secret value

Jump to

Keyboard shortcuts

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