Skip to content

One Time Secret

Self-hosted service for sharing passwords as links that can be opened only once

Permissive (OSI) · MIT
  • Self-hosted

Listed by , founder & editor

79

Health

Thriving

Overview

Stars

2,999

Last commit

yesterday

Nov 2026

Repository age

13 years

since Jan 2013

Latest version

v0.26.21

Nov 2026

Contributors

–

1 active in 90 days

Releases

22

last 12 months

Docker pulls

464k

onetimesecret/onetimesecret

Language

Ruby

Onetime Secret creates single-use links for sensitive text such as passwords. You paste a secret, get a URL, and send it by email or chat. Once the recipient opens it, the content is gone, so copies do not linger in message history.

It is written in Ruby and uses Redis for storage. You can run it with the published Docker image, and Docker Compose stacks are documented. A fuller setup adds PostgreSQL and RabbitMQ for authentication with MFA and WebAuthn. An admin account is created from the command line.

The project has been developed since 2013 and is MIT licensed. Development happens on GitLab, and the GitHub repository is a read-only mirror. A hosted version exists at onetimesecret.com if you do not want to run it yourself.

It suits teams that want one-time sharing on their own infrastructure instead of a third-party service.

Who it's for

IT and support teams sharing credentials with users

Links expire after one view, so passwords do not stay in tickets or chat logs.

Skip if: You need a full password vault with shared folders and audit trails.

Companies with data-residency rules

You can host it yourself with Docker and Redis and keep secrets on your servers.

Skip if: You are fine using the hosted service and do not want to run Redis.

The problem it solves

Passwords sent over email or chat stay in inboxes and logs long after they are needed. A link that works once removes that trail.

Strengths

  • Single-use links that self-destruct after viewing
  • Official Docker image with a documented Redis setup
  • MIT license
  • Active: 20 releases in the past year
  • Optional MFA and WebAuthn with the full authentication stack

Trade-offs

  • Losing the SECRET key makes existing secrets unreadable
  • Requires running Redis alongside the app
  • Issues and merge requests go to GitLab, not GitHub
  • Full authentication needs PostgreSQL and RabbitMQ

Self-host One Time Secret

Self-hostable
Yes
Docker image
onetimesecret/onetimesecret
Docker Compose
The repository ships a Compose file

Quick start

docker network create onetime
openssl rand -hex 32 > .ots_redis_password && chmod 600 .ots_redis_password
docker run -d --name onetime-redis --network onetime redis:trixie \
  redis-server --requirepass "$(cat .ots_redis_password)"

From the project's own install instructions. Check the docs for production settings.

Frequently asked questions

Is it free to self-host?

Yes. It is MIT licensed and ships as a Docker image.

What does it need to run?

The app needs a Redis instance. The full authentication setup also uses PostgreSQL and RabbitMQ.

Where do I report issues?

On GitLab. The GitHub repository is a read-only mirror.

Can I try it without installing?

Yes, a hosted instance runs at onetimesecret.com.

Similar tools in Secrets management

onecli

Secrets management

Self-hosted credential vault and gateway for running sandboxed AI agents across a team

3.7k 276 14 days ago Active Apache-2.0

Password Pusher

Secrets management

Self-hostable web app for sharing passwords and files through expiring one-time links

3.3k 474 yesterday Thriving Apache-2.0

Conjur

Secrets management

Self-hosted secrets manager with machine identity and role-based policies for enterprises

959 151 4 months ago Slowing LGPL-3.0

Replaces HashiCorp Vault

Phase

Secrets management

Open source secrets management for developers and teams, MIT licensed

952 78 today Thriving MIT

OTS

Secrets management

Self-hosted one-time secret sharing with in-browser AES-256 encryption

815 99 today Thriving Apache-2.0