# flutter_secure_storage

> Flutter plugin that stores secrets in each platform's secure storage

Source: https://talira.ai/catalog/flutter-secure-storage-1y8nysbm
Every listing: https://talira.ai/catalog.md

- Kind: Open source
- Types: Library
- Categories: [frameworks / mobile / plugins](https://talira.ai/categories/frameworks/mobile/plugins), [security / secrets management](https://talira.ai/categories/security/secrets-management), [languages / dart](https://talira.ai/categories/languages/dart)
- Platforms: android, ios, macos, windows, linux, web[^1]
- Licence: BSD-3-Clause[^2]
- Pricing: Free and open source[^2]
- Free tier: yes[^2]
- Backed by: [Julian Steenbakker](https://talira.ai/orgs/julian-steenbakker.md), [German Saprykin](https://talira.ai/orgs/german-saprykin.md)

flutter_secure_storage is a [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md) plugin for storing sensitive data as key-value pairs in each platform's secure storage. It uses the Keychain on iOS and macOS (with the Secure Enclave optionally), custom ciphers on Android (RSA OAEP with AES-GCM by default since version 10, with optional biometric authentication) and platform mechanisms on Windows, Linux and the web. Encryption algorithms, keychain accessibility and biometric requirements are configurable. German Saprykin created it, and Julian Steenbakker maintains it.

## Links

- GitHub: https://github.com/juliansteenbakker/flutter_secure_storage

## Problems it solves

- store an auth token securely in a Flutter app
- keep API keys and passwords out of plain shared preferences in Flutter
- require fingerprint or face unlock before a Flutter app reads a secret

## Features

- Keychain storage on iOS and macOS, with Secure Enclave support
- Android encryption with RSA OAEP and AES-GCM by default
- Optional biometric authentication on Android, iOS and macOS
- Android, iOS, macOS, Windows, Linux and web
- Automatic migration from older Android ciphers

## Limitations

- On the web it works only over HTTPS or on localhost.[^1]

## Trust

Overall: 0.63 out of 1.
Signals: maintenance 0.97, adoption 0.62, momentum 0.33, community 0.84, backing 0.30, extensibility 0.00.

- last commit 28 days ago
- 56 commits in the last 90 days
- latest release flutter_secure_storage-v11.2.0 2 months ago
- 1.3k GitHub stars
- 125 contributors
- accepts sponsorship (Github)
- backed by Julian Steenbakker and German Saprykin

## Related

- Works with [Flutter](https://talira.ai/catalog/flutter-nhwgvsth.md)

## Alternatives

- [local_auth](https://talira.ai/catalog/local-auth-xh22v8y8.md): Flutter plugin for local authentication with biometrics, passcode, PIN or pattern
- [shared_preferences](https://talira.ai/catalog/shared-preferences-8vz4enwx.md): Flutter plugin for storing simple key-value settings on the device
- [google_sign_in](https://talira.ai/catalog/google-sign-in-xmfwy7rv.md): Flutter plugin for signing in with a Google account
- [Flutter Packages](https://talira.ai/catalog/flutter-packages-jfkhbbq0.md): Flutter's first-party packages and plugins, maintained by the Flutter team

## Sources

[^1]: https://github.com/juliansteenbakker/flutter_secure_storage/blob/develop/README.md (checked 28 Nov 2026)
[^2]: https://github.com/juliansteenbakker/flutter_secure_storage/blob/develop/LICENSE (checked 28 Nov 2026)
