SecretVolume class

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.

Constructors

SecretVolume({String? mountPath, String? projectId, String? secret, List<SecretVersion>? versions})
SecretVolume.fromJson(Map json_)

Properties

hashCode int
The hash code for this object.
no setterinherited
mountPath String?
The path within the container to mount the secret volume.
getter/setter pair
projectId String?
Project identifier (preferably project number but can also be the project ID) of the project that contains the secret.
getter/setter pair
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).
getter/setter pair
versions List<SecretVersion>?
List of secret versions to mount for this secret.
getter/setter pair

Methods

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

Operators

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