The SparkVault Blog

How to Share API Keys and Credentials Securely (Without Leaving Them in Chat or Email)

A vendor-neutral, step-by-step method for handing off an API key, database password, or vendor credential so it doesn't sit permanently in a chat thread or inbox. Includes a methods table comparing password manager shares, secrets managers, phone confirmation, and one-time links, plus what each option doesn't protect against.

How to Share API Keys and Credentials Securely

The safest way to hand a teammate or contractor an API key, database password, or vendor credential is to send it once, let it expire on its own, and keep it out of any channel that keeps permanent, searchable history. For a one-off handoff, use a password manager's secure-share feature or a one-time link. For ongoing or shared access, put the credential in a secrets manager so nobody has to retype it every time someone needs it. Either way, treat a credential as compromised the moment it's been pasted into chat or email, and rotate it.

Key takeaways

Why are chat and email risky for sharing credentials?

Chat threads and email inboxes don't forget. A credential typed into a direct message or email body stays there, searchable, until every copy is deleted, including forwarded copies, sent-folder copies, and backups you don't directly control. Anyone who later gets access to that inbox or workspace, whether it's a new hire added to a shared mailbox, a compromised account, or a departing employee's old forwarding rule, can read a credential months after the original handoff.

The U.S. Cybersecurity and Infrastructure Security Agency (CISA) has made a related point about saved passwords: anyone with access to a device or account can often find credentials that were never meant to stay there (CISA, Choosing and Protecting Passwords). The same logic applies to a key sitting in a chat log. Chat and email are fine for most work. Just stop using them for the one piece of information that still works after the conversation is over.

What are safer ways to share a credential?

Picture a small accounting firm handing a contractor the API key for a third-party payroll integration, or an IT team provisioning a vendor's service account for a new engineer. Neither case calls for the key to live permanently in chat history or an email thread. Here's how the common options compare.

MethodWho can read itHow long it persistsEffort
Chat or emailAnyone with inbox, workspace, or export access, including people added long after the handoffIndefinite, through searchable history and backupsLowest
Password manager secure shareOnly the recipient, for the window you setMinutes to days, depending on the expiration you configureLow
Secrets manager or vaultOnly people or services explicitly granted accessPersists until rotated or revoked (ongoing and managed)Medium to high (needs setup and integration)
Phone or verbal confirmationOnly the person on the call, at that momentNot persisted by the call itself, but the key still has to travel some other way for the recipient to use itLow per use, doesn't scale
One-time linkThe recipient who opens it once; the link stops working after thatExpires automatically within a window you setLow

Phone or verbal confirmation deserves a caveat. It's good for verifying identity or reading back a short code, and it's impractical for dictating a 40-character API key. Use it to confirm you're sending the right person the right thing, and send the credential itself some other way.

Step by step: hand off a credential without leaving it behind

  1. Generate the actual credential. Create the real API key, service account password, or database credential you're handing off. Skip placeholders you'd have to edit later.
  2. Decide if this is a one-off handoff or ongoing access. A contractor who needs a vendor API key for a single project is a one-off. A new employee who needs standing access to a shared service account is ongoing.
  3. For a one-off handoff, use a password manager share or a one-time link. If you already use a password manager with a secure-share feature, send it from there. If you don't, a one-time link works: paste the credential as a Spark in SparkVault (sparkvault.com), set it to expire within an hour, and send the link. The text burns the moment it's read, so it never sits in your sent folder or the recipient's inbox (SparkVault's one-time secret sharing).
  4. For ongoing access, add the credential to a secrets manager instead. Grant the specific person or service scoped permissions so the raw value never travels by message. CISA's joint guidance recommends storing credentials in a secrets manager and using encrypted communication in place of plaintext channels (CISA Advisory AA25-212A).
  5. Confirm receipt through a separate channel. A quick "got it" in chat or a short call confirms delivery without retransmitting the secret itself.
  6. Rotate the credential if it was ever typed into chat or email first. If someone pasted the key into a message before you caught it, assume it's exposed and issue a new one. Deleting the message isn't enough.

What to tell your recipient

A one-time link only works as intended if the person opening it knows the rules. A short note like this covers it: "This link opens once and then stops working. Copy the key straight into your password manager or secrets manager, don't leave it in a clipboard, a sticky note, or a text file. Please don't screenshot it or forward the link."

For larger teams

A repeatable process matters more than any single tool once you're managing dozens of vendor keys and service accounts across a team.

What a one-time link doesn't protect against

A one-time link, a password manager share, or a secrets manager all reduce how long a credential is exposed and who can reach it. None of them stop a person from doing something risky with it after they've seen it. These methods don't protect against:

Reducing exposure time and audience is still worth doing. It just isn't a substitute for the recipient handling the secret carefully once they have it.

Frequently asked questions

How do I send a password without using email?

Use your password manager's secure-share feature if it has one, or send it as a one-time link that expires after a single view. Both keep the password out of your sent folder and the recipient's inbox.

What's the difference between a secrets manager and a one-time link?

A secrets manager is built for ongoing, managed access: a service or person keeps using the credential until it's rotated or their access is revoked. A one-time link is for a single handoff, existing just long enough for one person to read it once before it's gone.

Should I rotate a key after sharing it this way?

If the credential only ever traveled through a password manager share, secrets manager, or one-time link, rotation isn't automatically required. If it was ever typed into chat or email first, even briefly, rotate it, since you can't be certain every copy of that message is gone.

What if the recipient needs the credential again later?

For a one-off vendor key, send it again the same way. For anything used more than once, move it into a secrets manager so the recipient has standing, scoped access and doesn't have to ask you to resend it each time.

Is a one-time link enough for a production database password?

It's fine for the initial handoff. A production credential that multiple people or services rely on belongs in a secrets manager with scoped access and a rotation schedule, and a single one-time share won't cover that.

If you don't already have a secrets manager set up for ad hoc vendor keys, send the credential as a one-time Spark, free. It burns after the first read: send a one-time Spark.

Sources

Last updated: December 2025.

Two-panel diagram comparing credential sharing methods: left panel shows a credential sitting visibly in a chat and email thread where it can be searched and forwarded indefinitely; right panel shows the same credential sent as a one-time link that disappears after the recipient opens it once
A credential left in chat or email stays reachable indefinitely. A one-time link closes that window after a single read.

Keep reading