GetFunctionSecretVolume class
Constructors
-
GetFunctionSecretVolume({required Input<String> mountPath, required Input<String> projectId, required Input<String> secret, required Input<List<GetFunctionSecretVolumeVersion>> versions})
-
Creates a new GetFunctionSecretVolume.
mountPath 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 paths: "/etc/secrets" Restricted mount paths: "/cloudsql", "/dev/log", "/pod", "/proc", "/var/log".
projectId Project identifier (due to a known limitation, only project number is supported by this field) 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.
secret ID of the secret in secret manager (not the full resource name).
versions 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.
const
-
GetFunctionSecretVolume.fromMap(Map<String, dynamic> map)
-
factory
Properties
-
hashCode
→ int
-
The hash code for this object.
no setterinherited
-
mountPath
→ Input<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 paths: "/etc/secrets" Restricted mount paths: "/cloudsql", "/dev/log", "/pod", "/proc", "/var/log".
final
-
projectId
→ Input<String>
-
Project identifier (due to a known limitation, only project number is supported by this field) 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.
final
-
runtimeType
→ Type
-
A representation of the runtime type of the object.
no setterinherited
-
secret
→ Input<String>
-
ID of the secret in secret manager (not the full resource name).
final
-
versions
→ Input<List<GetFunctionSecretVolumeVersion>>
-
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.
final