DSSD (partially) implements Secret Service API to provide a backend for libsecret. DSSD is implemented with ~300 lines of code and compiles to a ~1M binary. The secrets are stored in an unencrypted JSON file in ~/.local/state/dssd.
~/.local/state/dssd