#secret #cli #user-input

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.

3 releases

Uses old Rust 2015

0.1.2 Feb 21, 2023
0.1.1 Aug 26, 2020
0.1.0 Jul 22, 2018

#15 in #secrets


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

~2–12MB
~96K SLoC