Create one-time secret
ncrypted_createEncrypt a password, API key, or sensitive note locally and generate a single-use link that self-destructs after one read; optionally email the link to a recipient.
Instructions
Encrypt a password, API key, or sensitive note locally and store it as a one-time secret. Returns a link that works exactly once, then self-destructs. The first 3 per day are free (TTL up to 24h, no email); after that each costs 0.005 USDC, paid automatically from the configured Base wallet via x402. Share the returned link with a human, email it (emailTo), or hand it to another agent, which reads it with ncrypted_read. Treat the link like the secret itself; never echo the secret value in chat. Returns { link, id, receiptToken, expiresAt }; keep id and receiptToken to check delivery (ncrypted_status) or revoke the link (ncrypted_burn). Use ncrypted_request instead when you need a secret FROM the user, and ncrypted_to_vercel_env / ncrypted_to_dotenv when a value from a link must be installed somewhere.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| secret | Yes | The sensitive value to share. Max 64 KB. | |
| emailTo | No | If the user asks you to email it, pass the address here and ncrypted emails the link once. Needs a paid secret (a funded wallet); without one the call fails with instructions, and you can give the user the link to send instead. The service sees the link for that one request; add a passphrase for highly sensitive values. | |
| emailNote | No | Short context for the email, e.g. 'Staging DB password'. Never include the secret. | |
| passphrase | No | Optional second factor. The recipient needs it in addition to the link; deliver it through a different channel. | |
| ttl_seconds | No | Expiry if never read. Default 86400 (24h), max 7 days. |