SecretVolume class final

Configuration for a secret volume. It has the information necessary to fetch the secret value from secret manager and make it available as files mounted at the requested paths within the application container.

Inheritance
  • Object
  • ProtoMessage
  • SecretVolume

Constructors

SecretVolume({String mountPath = '', String projectId = '', String secret = '', List<SecretVolume_SecretVersion> versions = const []})
SecretVolume.fromJson(Object? j)
factory

Properties

hashCode int
The hash code for this object.
no setterinherited
mountPath String
The path within the container to mount the secret volume. For example, setting the mount_path 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
final
projectId String
Project identifier (preferably project number but can also be the project ID) of the project that contains the secret. If not set, it is assumed that the secret is in the same project as the function.
final
qualifiedName String
The fully qualified name of this message, i.e., google.protobuf.Duration or google.rpc.ErrorInfo.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
secret String
Name of the secret in secret manager (not the full resource name).
final
versions List<SecretVolume_SecretVersion>
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

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() Object
override
toString() String
A string representation of this object.
override

Operators

operator ==(Object other) bool
The equality operator.
inherited

Constants

fullyQualifiedName → const String