ExternalSecretPayload class

The cleartext inside the sealed bundle of external/accounts/secret/set. It names the account it is for, inside the seal, so that a bundle captured on its way to one account cannot be replayed into another: the custodian MUST refuse a bundle whose context or account differs from the request's. Never appears on the wire outside a seal.

Constructors

ExternalSecretPayload({required AccountContextId context, required AccountId account, required String secret, String? accessKeyId})
const
ExternalSecretPayload.fromJson(Map<String, dynamic> json)
Read this payload from a decoded JSON object.
factory

Properties

accessKeyId → String?
For s3-static-presign, the access key id the secret belongs to. When present the custodian MUST refuse a bundle whose id differs from the account's settings, so that a secret cannot be paired with the wrong key id.
final
account → String
final
context → String
final
hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
secret → String
The secret itself: an access-key secret, an API token. Opaque to everything but the account's driver.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toJson() → Map<String, dynamic>
Serialize to a JSON-encodable map, omitting absent members.
toString() → String
A string representation of this object.
inherited

Operators

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