SecretEnvSourceArgs

data class SecretEnvSourceArgs(val localObjectReference: Output<LocalObjectReferenceArgs>? = null, val name: Output<String>? = null, val optional: Output<Boolean>? = null) : ConvertibleToJava<SecretEnvSourceArgs>

Not supported by Cloud Run. SecretEnvSource selects a Secret to populate the environment variables with. The contents of the target Secret's Data field will represent the key-value pairs as environment variables.

Constructors

Link copied to clipboard
fun SecretEnvSourceArgs(localObjectReference: Output<LocalObjectReferenceArgs>? = null, name: Output<String>? = null, optional: Output<Boolean>? = null)

Functions

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

Properties

Link copied to clipboard

This field should not be used directly as it is meant to be inlined directly into the message. Use the "name" field instead.

Link copied to clipboard
val name: Output<String>? = null

The Secret to select from.

Link copied to clipboard
val optional: Output<Boolean>? = null

Specify whether the Secret must be defined