SecureStorage
Configure Cordova/Capacitor 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 options = Ansight.createOptionsBuilder()
.withRemoteTools({
secureStorage: {
appleService: "com.example.app",
preferencesName: "secure_debug",
allowedKeys: ["debug_token"],
},
})
.withReadOnlyToolAccess()
.build();
The suite exposes secure.get_value, secure.set_value, and secure.remove_key. It operates on the native Keychain/secure store rather than web storage.