GoogleCloudRunV2SecretKeySelectorArgs

data class GoogleCloudRunV2SecretKeySelectorArgs(val secret: Output<String>, val version: Output<String>? = null) : ConvertibleToJava<GoogleCloudRunV2SecretKeySelectorArgs>

SecretEnvVarSource represents a source for the value of an EnvVar.

Constructors

Link copied to clipboard
fun GoogleCloudRunV2SecretKeySelectorArgs(secret: Output<String>, version: Output<String>? = null)

Functions

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

Properties

Link copied to clipboard
val secret: Output<String>

The name of the secret in Cloud Secret Manager. Format: {secret_name} if the secret is in the same project. projects/{project}/secrets/{secret_name} if the secret is in a different project.

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

The Cloud Secret Manager secret version. Can be 'latest' for the latest version, an integer for a specific version, or a version alias.