SecretManagerSecretArgs

data class SecretManagerSecretArgs(val env: Output<String>? = null, val versionName: Output<String>? = null) : ConvertibleToJava<SecretManagerSecretArgs>

Pairs a secret environment variable with a SecretVersion in Secret Manager.

Constructors

Link copied to clipboard
constructor(env: Output<String>? = null, versionName: Output<String>? = null)

Properties

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

Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.

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

Resource name of the SecretVersion. In format: projects//secrets//versions/* //*/

Functions

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