GetFunctionServiceConfigSecretVolume

data class GetFunctionServiceConfigSecretVolume(val mountPath: String, val projectId: String, val secret: String, val versions: List<GetFunctionServiceConfigSecretVolumeVersion>)

Constructors

Link copied to clipboard
constructor(mountPath: String, projectId: String, secret: String, versions: List<GetFunctionServiceConfigSecretVolumeVersion>)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

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

Project identifier (preferrably 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

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.'