Implements secure credential and sensitive data storage for .NET MAUI applications using platform-native encryption.
This skill provides comprehensive guidance for managing sensitive data in .NET MAUI applications via the SecureStorage API. It facilitates the implementation of secure key-value storage, handles complex platform-specific configurations like Android Auto Backup rules and iOS Keychain entitlements, and provides a production-ready Dependency Injection (DI) wrapper for enhanced testability. It is ideal for developers needing to store auth tokens, passwords, or small secrets while avoiding common pitfalls like data corruption during backup restores or platform-specific storage limits.
Características Principales
01Platform-specific configuration for Android, iOS, and Windows
02Standardized CRUD operations using SecureStorage.Default
03Automated setup for Android Auto Backup and iOS Keychain access
04Production-ready DI wrapper service for unit testing and mockability
05Best practice error handling for corrupted values and platform limits
0670 GitHub stars
Casos de Uso
01Managing sensitive user credentials or private API keys
02Persisting encrypted configuration data that must survive app restarts
03Storing and retrieving JWT authentication tokens securely