SecureStorageService class
Service for securely storing and retrieving sensitive data like API keys.
Uses AES-256 encryption with a machine-specific key derived from system information. The encryption key is generated once per machine and stored in a secure location.
Constructors
- SecureStorageService()
-
factory
Properties
Methods
-
clear(
) → Future< void> - Deletes all securely stored data.
-
migrateFromYaml(
Map< String, String> yamlData) → Future<void> - Migrates data from plain YAML config to encrypted storage.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
retrieve(
) → Future< Map< String, String> > - Retrieves securely stored data.
-
store(
Map< String, String> data) → Future<void> - Stores sensitive data securely.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited