#secret #cli

psst

Library to be used in CLIs for storing secrets. It will prompt the user for input on the first invocation and remember it for later.

4 releases

Uses old Rust 2015

0.1.3 Mar 12, 2025
0.1.2 Feb 21, 2023
0.1.1 Aug 26, 2020
0.1.0 Jul 22, 2018

#55 in #secret

Download history 4/week @ 2024-12-04 10/week @ 2024-12-11 2/week @ 2025-02-26 186/week @ 2025-03-12 18/week @ 2025-03-19

206 downloads per month
Used in cheapskate-ci

MIT license

5KB
65 lines

psst

A small rust library for storing and retrieving little secrets.

  • Provide a group name, such as "film-snob", and it will store secrets in ~/.local/share/film-snob/psst.toml
  • If the secret is already there, it will be returned, otherwise it will prompt for input and remember

Dependencies

~0.7–12MB
~72K SLoC