sdk/python/packages/flet-secure-storage/README.md
A service for safely storing sensitive key–value data using the platform’s native secure storage mechanisms—Keychain on iOS/macOS, Windows Credential Manager, libsecret on Linux, and Keystore on Android.
Powered by Flutter's flutter_secure_storage package.
You need libsecret-1-dev on your machine to build the project, and libsecret-1-0 to run the application (add it as a dependency after packaging your app). If you using snapcraft to build the project use the following.
Apart from libsecret you also need a keyring service, for that you need either gnome-keyring (for Gnome users) or kwalletmanager (for KDE users) or other light provider like secret-service.
sudo apt-get install libsecret-1-dev libsecret-1-0
Detailed documentation to this package can be found here.
| Platform | Windows | macOS | Linux | iOS | Android | Web |
|---|---|---|---|---|---|---|
| Supported | ✅ | ✅ | ✅ | ✅ | ✅ | ✅ |
To install the flet-secure-storage package and add it to your project dependencies:
Using uv:
uv add flet-secure-storage
Using pip:
pip install flet-secure-storage
After this, you will have to manually add this package to your requirements.txt or pyproject.toml.
For examples, see these.