Back to Flet

flet-secure-storage

sdk/python/packages/flet-secure-storage/README.md

0.85.0.dev22.4 KB
Original Source

flet-secure-storage

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.

bash
sudo apt-get install libsecret-1-dev libsecret-1-0

Documentation

Detailed documentation to this package can be found here.

Platform Support

PlatformWindowsmacOSLinuxiOSAndroidWeb
Supported

Usage

Installation

To install the flet-secure-storage package and add it to your project dependencies:

  • Using uv:

    bash
    uv add flet-secure-storage
    
  • Using pip:

    bash
    pip install flet-secure-storage
    

    After this, you will have to manually add this package to your requirements.txt or pyproject.toml.

Examples

For examples, see these.