Category Archives: bash


Command-line or script access to One-Time-Secret

For a number of reasons, I’ve been playing with OneTimeSecret, a nice little service that allows you to share a secret with someone else and know that it can only be viewed once. Additional features such as Time To Live (TTL) and Encrypted secrets, plus direct email to the intended recipient are nice bonuses.

However, I was wanting to incorporate the sharing of secrets into a shell script, and while the RESTful API is helpful, and I could have used curl, I decided that I could easily provide a simpler interface with functions for scripts and a command line interface. Check it out on GitHub.