SecureStorage

Configure Flutter native secure-storage tools with explicit service and key restrictions.

Warning: Secure-storage tools can expose or mutate credentials and tokens. Enable them only for explicit local debugging.

const secureStorage = AnsightSecureStorageToolsOptions(
  appleService: 'com.example.app',
  preferencesName: 'secure_debug',
  allowedKeys: <String>['debug_token'],
);

Pass the options through AnsightRemoteToolsOptions. The suite exposes secure.get_value, secure.set_value, and secure.remove_key. Keep allow-lists narrow and avoid unrestricted access on physical devices containing real user data.