onWrappedDekReceived property
Optional callback invoked when the server returns an
X-Bella-Wrapped-Dek response header (ZKE key-wrapping flow).
Arguments:
projectSlug— slug of the project whose secrets were fetchedenvSlug— environment slugwrappedDek— base64-encoded wrapped Data-Encryption KeyleaseExpires— parsed value ofX-Bella-Lease-Expires, or null
Use this to persist the wrapped DEK for offline / cache-warming scenarios.
Implementation
final void Function(String, String, String, DateTime?)? onWrappedDekReceived;