If you use this repo, star it โจ
๐ Share end-to-end encrypted secrets with others via a one-time URL
Use to securely share API Keys, Signing secrets, Passwords, etc. with 3rd parties or with your team
Secrets are destructed ๐ฅ once viewed, or after specified expiry
Looking for the web version?
The recommended way to install ots
on macOS is via Homebrew.
brew tap sniptt-official/tap
brew install ots
NOTE: We need 30 forks, 30 watchers, and 75 stars to make it to Homebrew/core. Please help us get there ๐!
go get -u github.com/sniptt-official/ots
For manual installation instructions on macOS and Linux, please refer to the dedicated install docs.
$ ots new -x 2h
Enter your secret:
You can also use pipes, for example
$ pbpaste | ots new
or
$ cat .env | ots new
All secrets are encrypted end-to-end, which means the plaintext values never leave your device. We do not log, track, share, or store the encryption key that protects your secret. You can check the client code to learn more about how we create the encryption key as well as what data is being sent to our servers.
Secrets created using the ots new
command are what we refer to as "one-time secrets". Once they are retrieved by the recipient, they can no longer be viewed even if someone got hold of the URL. Furthermore, each one-time secret gets automatically deleted after specified duration if not viewed. By default, this is 24 hours but you can change this as required, for example ots new -x 2h
.
It goes without saying that URL-accessible one-time secrets should be shared with intended recipients only.
Please use snip instead.
See LICENSE