SecretVolumeSource class
A volume representing a secret stored in Google Secret Manager.
The secret's value will be presented as the content of a file whose name is defined in the item path. If no items are defined, the name of the file is the secret_name. The contents of the target Secret's Data field will be presented in a volume as files using the keys in the Data field as the file names.
Constructors
-
SecretVolumeSource({int? defaultMode, List<
KeyToPath> ? items, bool? optional, String? secretName}) - SecretVolumeSource.fromJson(Map json_)
Properties
- defaultMode ↔ int?
-
Integer representation of mode bits to use on created files by default.
getter/setter pair
- hashCode → int
-
The hash code for this object.
no setterinherited
-
items
↔ List<
KeyToPath> ? -
A list of secret versions to mount in the volume.
getter/setter pair
- optional ↔ bool?
-
Not supported by Cloud Run.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- secretName ↔ String?
-
The name of the secret in Cloud Secret Manager.
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