KubernetesSecretObjectMappingArgs

data class KubernetesSecretObjectMappingArgs(val sourcePath: Output<String>, val targetKey: Output<String>) : ConvertibleToJava<KubernetesSecretObjectMappingArgs>

Properties defining the mapping between a cloud secret store object and a Kubernetes Secret.

Constructors

Link copied to clipboard
constructor(sourcePath: Output<String>, targetKey: Output<String>)

Properties

Link copied to clipboard
val sourcePath: Output<String>

SourcePath is the identifier for the secret data as defined by the external secret provider. This is the key or path to the secret in the provider's system, which gets mounted to a specific path in the pod. The value should match the name of the secret as specified in the SecretProviderClass's objects array.

Link copied to clipboard
val targetKey: Output<String>

TargetKey is the key in the Kubernetes secret's data field where the secret value will be stored. This key is used to reference the secret data within Kubernetes, and it should be unique within the secret.

Functions

Link copied to clipboard
open override fun toJava(): KubernetesSecretObjectMappingArgs