https://github.com/sniptt-official/ots
🔐 Share end-to-end encrypted secrets with others via a one-time URL
https://github.com/sniptt-official/ots
cli end-to-end-encryption secret-management secret-sharing
Last synced: 26 days ago
JSON representation
🔐 Share end-to-end encrypted secrets with others via a one-time URL
- Host: GitHub
- URL: https://github.com/sniptt-official/ots
- Owner: sniptt-official
- License: apache-2.0
- Created: 2021-07-15T18:13:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2025-02-08T17:14:28.000Z (3 months ago)
- Last Synced: 2025-04-06T09:01:29.085Z (about 1 month ago)
- Topics: cli, end-to-end-encryption, secret-management, secret-sharing
- Language: Go
- Homepage: https://ots.sniptt.com
- Size: 59.6 KB
- Stars: 1,790
- Watchers: 19
- Forks: 48
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- my-awesome - sniptt-official/ots - to-end-encryption,secret-management,secret-sharing pushed_at:2025-02 star:1.8k fork:0.0k 🔐 Share end-to-end encrypted secrets with others via a one-time URL (Go)
- awesome-cli-apps - ots - Share secrets with others via a one-time URL. (Utilities / Security)
- awesome-starred - sniptt-official/ots - 🔐 Share end-to-end encrypted secrets with others via a one-time URL (cli)
- fucking-awesome-cli-apps - ots - Share secrets with others via a one-time URL. (Utilities / Security)
README
If you use this repo, please 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?
https://ots.sniptt.com
***
## Install
### Homebrew
The recommended way to install `ots` on macOS is via Homebrew.
```
brew install ots
```### Go
```
go get -u github.com/sniptt-official/ots
```## Usage

### Prompt
```
> ots new -x 2h
Enter your secret:
```The default expiry is 24 hours.
### Pipeline
You can also use pipes, for example
```
pbpaste | ots new
```or
```
cat .env | ots new
```### Data residency
Use `--region` to choose where the secrets reside.
The default region is `us-east-1`.
```
ots new -x 24h --region eu-central-1
```## FAQs
Please refer to our Q&A discussions.
* [Why should I trust you with my secrets?](https://github.com/sniptt-official/ots/discussions/13)
* [Can I persist my secrets for later use?](https://github.com/sniptt-official/ots/discussions/15)
* [What kind of limits are in place?](https://github.com/sniptt-official/ots/discussions/18)## License
See [LICENSE](LICENSE)