Giter Site home page Giter Site logo

blazeryoo / ots Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sniptt-official/ots

0.0 0.0 0.0 105 KB

๐Ÿ” Share end-to-end encrypted secrets with others via a one-time URL

Home Page: https://ots.sniptt.com

License: Apache License 2.0

Go 100.00%

ots's Introduction

Looking to self-host? Use the official CDK construct

Ots Logo

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?

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

render1628628123170

Prompt

> ots new -x 2h
Enter your secret: 

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.

ots new -x 24h --region eu-central-1

Self-hosting

Please refer to the official CDK construct for detailed instructions.

Grab your API Gateway URL, API key and configure ~/.ots.yaml (or whatever you provide to --config):

apiUrl: https://YOUR_API_ID.execute-api.YOUR_REGION.amazonaws.com/prod/secrets
apiKey: YOUR_API_KEY

Use ots as before:

> ots new -x 2h
Using config file: /Users/xxx/.ots.yaml
Enter your secret: ***
Your secret is now available on the below URL.

https://my-ots-web-view.com/burn-secret?id=xxx&ref=ots-cli&region=us-east-1&v=debug#xxx

You should only share this URL with the intended recipient.

Please note that once retrieved, the secret will no longer
be available for viewing. If not viewed, the secret will
automatically expire at approximately xx xxx xxxx xx:xx:xx.

FAQs

Please refer to our Q&A discussions.

License

See LICENSE

ots's People

Contributors

slavovojacek avatar rogerthebest avatar rickymarcon avatar jeremyletang avatar marchanlon avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.