---
title: One-Time Secret Alternatives for Sharing Passwords and Files
date: 2026-11-17
description: Comparing One-Time Secret alternatives for sharing secrets with one-time links, including tools that encrypt in the browser, send files, and work from the command line or an AI agent.
tags: ["onetimesecret", "alternatives", "one-time-links", "secrets-management", "comparison", "developers"]
---

# One-Time Secret Alternatives for Sharing Passwords and Files

[One-Time Secret](https://onetimesecret.com) popularized a simple idea: instead of pasting a password into chat, paste it into a page that gives you a link, and the link only works once. It's open source, it's been around for years, and it's still a good tool.

But it's built around **text secrets**, and teams often need more than that: sending a `.env` file or a certificate, scripting the whole thing from a terminal, or letting an AI coding agent hand over a credential without printing it. Here's what else is out there.

## What makes a good one-time secret tool

- **Client-side encryption.** The secret should be encrypted before it leaves your device, with the key kept out of the server's reach. The common pattern is putting the key in the URL `#fragment`, which browsers never send to servers.
- **Real single use.** Opening should delete the data, and two simultaneous opens shouldn't both succeed.
- **Preview safety.** Slack, Teams and email security scanners fetch links automatically. If a bot can "open" your secret, your recipient gets nothing.
- **Files, not just text.** Secrets often come as files: `.env`, `.pem`, kubeconfigs, service account JSON.
- **Automation.** An API or CLI so it fits into scripts, CI and agent workflows.

## The alternatives

### Dropzone

[Dropzone](https://dropzone.sh) is an open source one-time link service for text and files.

- **End-to-end encrypted.** The web app and CLI encrypt with AES-256-GCM on your device. The key stays in the link's `#fragment`, so Dropzone's servers only ever store ciphertext.
- **Files up to 100MB** in the browser, as well as plain text.
- **Single use is enforced by the server.** Opening a drop takes a create-only lock, so only one of several simultaneous opens can succeed, and the ciphertext is then deleted.
- **Previews are safe.** Loading a link never opens it; a person has to click Reveal.
- **Reusable links when you want them.** Turn off "destruct on download" and the link works for 30 days.
- **Built for developers and agents.** A [dependency-free CLI](https://dropzone.sh/dropzone.mjs), a plain HTTP API, and an [MCP server](/agents) so Claude Code, Cursor and other agents can create and open links.
- No account. Unopened links are deleted after 90 days.

```sh
curl -fsSO https://dropzone.sh/dropzone.mjs
node dropzone.mjs send .env          # prints a one-time link
node dropzone.mjs open "$LINK"       # decrypts locally, once
```

**Best for:** developers, sharing files, and teams using AI agents.

### Yopass

[Yopass](https://github.com/jhaals/yopass) is an open source project that encrypts secrets in the browser and supports one-time links, expiry, and file uploads. It's designed to be self-hosted and has a CLI.

**Best for:** teams that want to run a one-time secret service on their own infrastructure.

### Password Pusher

[Password Pusher](https://pwpush.com) is open source and lets you set links to expire after a number of views or days. It's popular in IT and help-desk teams, and it can be self-hosted.

**Best for:** IT teams that want expiry by views and days, and an audit trail.

### Bitwarden Send and 1Password item sharing

If your team already uses a password manager, it probably has a sharing feature. [Bitwarden Send](https://bitwarden.com/products/send/) shares encrypted text and files with view limits and expiry. 1Password can share an item with a link that expires. Both need an account on the sending side.

**Best for:** teams already paying for the password manager.

## How to choose

| If you need to... | Use |
| --- | --- |
| Send a password to someone once | Any of the above |
| Send a `.env`, key file or document | Dropzone, Yopass, Bitwarden Send |
| Script it from a terminal or CI | Dropzone CLI or API, Yopass CLI |
| Let an AI agent create or open links | Dropzone MCP server |
| Self-host inside your company | Yopass, Password Pusher, One-Time Secret, or Dropzone |
| Share credentials long term | Your password manager, not a one-time link |

## A note on long-lived secrets

One-time links are for **handoffs**: getting a secret from one person or system to another without leaving a copy behind. If a credential is used by many people over a long time, it belongs in a secrets manager or password manager with access control and rotation. Use a one-time link to get it there, not instead of it.

---

**Related:** [How to share API keys securely](/blog/how-to-share-api-keys-securely) · [Best Privnote alternatives](/blog/privnote-alternative)
