---
title: Deploy OneTimeSecret with AI on Blossom
url: "/deploy/onetimesecret/"
canonical_url: https://blossom88.com/deploy/onetimesecret/
markdown_url: https://blossom88.com/deploy/onetimesecret.md
summary: Share a one-time message and keep its unopened link usable through App updates.
categories:
- deployment
- productivity
stack:
- Ruby
- Vue
- Redis
---

# Deploy OneTimeSecret with AI on Blossom

[OneTimeSecret](https://docs.onetimesecret.com/en/self-hosting/) gives
you a link that reveals a message once. Set an expiration so an unopened
link also stops working after the interval you choose.

## Ask Your Agent

> **Ask your AI agent:** Deploy OneTimeSecret privately on Blossom. Help me share a sample message that opens once.
>
> Follow this guide: https://blossom88.com/deploy/onetimesecret/

[Install the Blossom CLI and skill](https://docs.blossom88.com/learn/getting-started/install/) on your agent's machine and [choose a Location in your cloud account](https://docs.blossom88.com/learn/getting-started/choose-your-cloud/#connect-your-provider).

## How It Runs

| Part | Role | Where |
|---|---|---|
| OneTimeSecret | Create links and confirm the first read | Blossom App Capacity |
| Redis | Store unexpired messages and sessions | Blossom Managed Data |

## Deploy OneTimeSecret

Use simple mode with managed Redis. Set a strong, stable `SECRET` and
keep it in your private environment configuration. Use Blossom Account
access for this team setup and grant your recipient access to the App.

<details class="optional-reading" markdown="1">
<summary>Notes for your agent</summary>

Use the [official OneTimeSecret image](https://docs.onetimesecret.com/en/install/docker/)
on port 3000 with its web entrypoint. Link managed Redis as `REDIS_URL`.
Set `AUTHENTICATION_MODE` to `simple`. At startup, set `HOST` from
`BLOSSOM_SERVICE_HOST` before calling the image's entrypoint. Enable
`SSL` and `SESSION_COOKIE_SECURE`. Reuse the root secret and Redis
instance for updates.

</details>

<details class="optional-reading" markdown="1">
<summary>Commands your agent runs</summary>

    blossom app_plan:preview --data onetimesecret-plan.yml
    blossom environment_link:create --data onetimesecret-redis-link.yml
    blossom environment:deploy --id environment-100 --follow

</details>

## Share a Sample Message

Enter a practice message and choose an expiration. Create a link and
open it in a second session with Blossom Account access. Confirm the
read. Open the same link in a third session to check that it was used.

![Set the expiration for a sample one-time message.](/deploy/assets/images/onetimesecret/onetimesecret-compose.webp)

> **Ask your AI agent:** Help me send a sample one-time message and check that a second visit cannot read it.

> Follow this guide: https://blossom88.com/deploy/onetimesecret/



## Reopen an Unused Link After an Update

Create another link and leave it unopened. Update the App with the same
Redis and root secret, then open the link and confirm the read.

![Confirm the first read after replacing the web Container.](/deploy/assets/images/onetimesecret/onetimesecret-confirm.webp)


> **Ask your AI agent:** Update OneTimeSecret and verify that an unopened sample link still works once.

> Follow this guide: https://blossom88.com/deploy/onetimesecret/



## What You Get

- A workspace for one-time messages with an expiration
- A confirmation step before the recipient opens a message
- Unopened messages retained in managed Redis through App updates

Tested on Blossom: An unopened one-time link stayed usable through web Container replacement, revealed the original message once, and denied a second browser.
