Skip to content

@kubricate/plugin-kubernetes / CustomTypeSecretProvider / CustomTypeSecretProviderConfig

Interface: CustomTypeSecretProviderConfig

Properties

allowedKeys?

ts
optional allowedKeys: readonly string[];

Optional list of allowed keys. If specified, only these keys will be accepted in the prepare() method. This provides type-safety and validation for dynamic keys.


name

ts
name: string;

The name of the secret to use.


namespace?

ts
optional namespace: string;

The namespace of the secret to use.

Default

ts
'default'

secretType

ts
secretType: string;

The custom secret type (e.g., 'vendor.com/custom', 'my.company/api-token'). Can be any valid Kubernetes Secret type including 'Opaque'.