FunctionServiceConfigSecretVolumeArgs

data class FunctionServiceConfigSecretVolumeArgs(val mountPath: Output<String>, val projectId: Output<String>, val secret: Output<String>, val versions: Output<List<FunctionServiceConfigSecretVolumeVersionArgs>>? = null) : ConvertibleToJava<FunctionServiceConfigSecretVolumeArgs>

Constructors

Link copied to clipboard
constructor(mountPath: Output<String>, projectId: Output<String>, secret: Output<String>, versions: Output<List<FunctionServiceConfigSecretVolumeVersionArgs>>? = null)

Properties

Link copied to clipboard
val mountPath: Output<String>

The path within the container to mount the secret volume. For example, setting the mountPath as /etc/secrets would mount the secret value files under the /etc/secrets directory. This directory will also be completely shadowed and unavailable to mount any other secrets. Recommended mount path: /etc/secrets

Link copied to clipboard
val projectId: Output<String>

Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it will be populated with the function's project assuming that the secret exists in the same project as of the function.

Link copied to clipboard
val secret: Output<String>

Name of the secret in secret manager (not the full resource name).

Link copied to clipboard

List of secret versions to mount for this secret. If empty, the latest version of the secret will be made available in a file named after the secret under the mount point.' Structure is documented below.

Functions

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