Keeping API keys and passwords out of Discord tickets

Members paste tokens and keys into tickets all the time. Learn how to warn them, detect leaks and respond quickly when it happens.

By the TicketAssist AI team1 min read

If your community involves bots, hosting or APIs, someone will eventually paste a secret into a ticket. Treat it as a matter of when, and prepare.

Why it happens

People want help fast and screenshots or config files contain keys. They do not think about who can read the ticket afterwards, including transcripts.

Prevent it

  • Say it on the panel: "Never share passwords, tokens or API keys."
  • Put the same line in your welcome message in each ticket.
  • Tell staff never to ask for a full key; ask for the last four characters.

Detect it

Look for a bot that detects secrets and API keys posted in tickets so your team can react quickly. TicketAssist AI does this on its paid plans (see features).

Respond

  1. Tell the member the key is exposed.
  2. Ask them to revoke and replace it right away.
  3. Delete the message if your tools allow.
  4. Remember transcripts: check where copies are stored.

The member must rotate the key. Deleting the message is not enough, because anyone who saw it may have copied it.

Keep an eye on retention

Decide how long transcripts live and who can open them. Less retained means less exposed. See the ticket bot checklist.

Keep reading

Guide

Discord ticket transcripts: what to save, who sees them and for how long

Transcripts are your support memory, and a privacy risk. Learn what they contain, how to search them and how to decide who sees them and how long they live.

2 min read
Guide

How to run Discord ban appeals through tickets

Ban appeals need privacy, a fair process and a clear decision. Here is a simple ticket-based setup that keeps appeals consistent and keeps spam out.

2 min read
Guide

Handling outages in Discord support without drowning in tickets

When something breaks, every member opens a ticket. Here is a calm plan for telling people once, answering automatically and closing the loop.

1 min read