KmsPut class

Constructors

KmsPut({String? env, String? name, String? path, String? value})
Returns a new KmsPut instance.

Properties

env ↔ String?
Env is the environment to write under. REQUIRED, with no default: it is part of the storage key, so a silently defaulted write lands in a bucket the readers that resolve project, environment and path never look in, and the stale value keeps being served.
getter/setter pair
hashCode → int
The hash code for this object.
no setteroverride
name ↔ String?
Name is the secret's name. Required.
getter/setter pair
path ↔ String?
Path is an optional subpath beneath the org root, e.g. "/ci".
getter/setter pair
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value ↔ String?
Value is the secret itself. It is sealed under a fresh per-secret data key before storage, so plaintext never reaches disk, and it is never echoed back, logged, or carried in an error.
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.
override

Operators

operator ==(Object other) → bool
The equality operator.
override

Static Methods

fromJson(dynamic value) → KmsPut?
Returns a new KmsPut instance and imports its values from value if it's a Map, null otherwise.
listFromJson(dynamic json, {bool growable = false}) → List<KmsPut>
mapFromJson(dynamic json) → Map<String, KmsPut>
mapListFromJson(dynamic json, {bool growable = false}) → Map<String, List<KmsPut>>

Constants

requiredKeys → const Set<String>
The list of required keys that must be present in a JSON.