Skip to content
EasyToPaste

A Secrets-Handling Checklist for Small Dev Teams

API keys, database passwords and tokens leak in boring ways. A practical checklist for small teams: where secrets live, how to share them, and how to rotate them.

EasyToPaste Team Published 7 min read
  • developers
  • checklist
  • secrets management

Small teams rarely get hacked by a clever exploit. They lose control of secrets in ordinary ways: a key committed to a repository, a database password pasted into chat, a laptop that left with a former contractor. None of that needs a security team to fix. It needs a short list of habits that everyone follows.

This checklist is written for teams of two to twenty people without a dedicated security engineer. It is practical, not exhaustive, and you can adopt it in an afternoon.

What counts as a secret

Anything that grants access or proves identity:

  • API keys and access tokens
  • Database and service passwords
  • Cloud credentials and signing keys
  • SSH keys and certificates
  • Webhook signing secrets
  • Recovery and backup codes
  • Passwords for shared accounts (analytics, domain registrar, social media)

If leaking it would let someone act as you or read something private, treat it as a secret.

1. Keep secrets out of source control

The most common leak is also the easiest to prevent.

  • Secrets live in environment variables or a secrets manager, never in code, config files that are committed, or example files with real values.
  • .env and similar files are in .gitignore from the first commit.
  • A secret scanner runs on commits or in CI to catch accidents. Several free and open-source scanners exist; pick one and turn it on.
  • You know what to do if a secret does get committed: rotate it first, then clean the history. Deleting the commit does not help if the key was already pushed or cloned, because anyone who fetched it still has it.

2. Use a real place to store them

  • Shared team credentials live in a team password manager or a secrets manager, not in a shared document, a wiki page or a pinned chat message.
  • Production secrets are stored separately from development ones, with different values.
  • Access to the store is by individual account with multi-factor authentication, not one shared login.
  • You can say who has access to production secrets, and the list is short.

3. Share them without leaving copies

Sooner or later a secret has to move from one person to another: a new hire needs the staging key, a contractor needs a database login, you need to send a customer an API token. This is where most small teams slip, because the fastest route is a chat message. Each of those three has its own write-up, because the right answer differs: an SSH key, database credentials and an API key going to a contractor.

  • Nobody pastes secrets into chat, email, tickets or pull request comments. This is a team rule, stated out loud.
  • There is an agreed alternative that is just as fast. Otherwise the rule will not survive a busy Friday.
  • That alternative encrypts before sending and does not leave a long-lived copy.

An encrypted, self-destructing link is a good fit for the one-off hand-off. With EasyToPaste, you paste the secret into the web app, your browser encrypts it with AES-256-GCM before upload, and you send the resulting link. The key sits in the link fragment, so the server stores only ciphertext. The secret self-destructs on read or expiry, and a signed-in sender can revoke it. Read How It Works for the details and Security for what the service can and cannot see.

Habits to attach to it:

  • Use the shortest expiry that works.
  • Send the link to one person, not a channel.
  • For high-value secrets, remember the key cannot be split across channels yet (Code + Passphrase is designed, not shipped): use the shortest expiry, one named recipient, and rotate after the handover.
  • If a recipient reports that a link no longer works before they opened it, treat the secret as exposed and rotate it.
  • Remember that the link is the key. Do not leave it in a ticket or a wiki.

We explain the reasoning in why you should not send secrets over Slack, email or WhatsApp.

For automated workflows, the developer API lets you create secrets from your own scripts. The developer page documents how the API expects pre-encrypted data, so read it before wiring anything up.

4. Give each person and system the least access

  • Every service has its own credentials. Two applications should not share one database password.
  • Tokens are scoped to what they need. Prefer read-only keys where write access is not required.
  • Contractors get their own accounts or tokens with an end date, not a copy of yours.
  • People use their own accounts, so that an audit trail shows who did what and so access can be removed individually.

5. Rotate on a schedule and on events

A secret that never changes is a secret that is eventually known by more people than you think.

  • There is a list of your important secrets and where each is used. A simple spreadsheet is a start, as long as it contains names and locations, not the values.
  • Rotate on departures: when someone with access leaves the team, rotate what they could see.
  • Rotate on suspicion: a lost laptop, a phishing click, a commit that included a key.
  • Rotate on a calendar for the most sensitive credentials, and practise it. A rotation you have never tested will not work smoothly at 2 a.m.
  • Applications read secrets at start-up or on reload, so rotating does not mean editing code.

6. Protect the humans and their devices

  • Multi-factor authentication is on for email, source hosting, cloud consoles, the password manager and the domain registrar. Email and registrar accounts are often the weakest links because they can reset everything else.
  • Disks are encrypted on laptops, and screens lock automatically.
  • People use a password manager and unique passwords for each service.
  • Phishing awareness is covered in onboarding. Most credential theft starts with a convincing message.

7. Plan for the bad day

  • You have written down, in a place everyone can find, who to tell and what to rotate first if a secret leaks.
  • The first step is always revoke or rotate, then investigate. Do not spend the first hour working out how it leaked while the key is still valid.
  • Know how to see where a key was used. Provider dashboards and logs often show recent activity for a key.
  • After an incident, write two lines on what changed so the same thing does not happen again.

8. Onboarding and offboarding

  • New starters get access through their own accounts and a documented list, not a handful of pasted credentials.
  • Offboarding has a checklist: remove accounts, revoke tokens, rotate shared secrets, collect devices.
  • Contractors and short-term collaborators get an expiry date on day one.

A one-page version

If you remember only this:

  1. No secrets in git, chat or tickets.
  2. One proper place to store them, with multi-factor authentication.
  3. One fast, encrypted, self-destructing way to hand them over.
  4. Separate credentials per person and per service, with least access.
  5. Rotate when people leave, when something looks wrong, and on a calendar for the important ones.
  6. Know your first three steps for a leak.

Choosing tools without overbuilding

A team of five does not need an enterprise secrets platform on day one. A reputable password manager with team vaults, a secret scanner in CI, environment-variable based configuration, and a one-time encrypted link for hand-offs cover most of the ground. As the team grows, consider organisational features such as roles, audit logs and single sign-on; EasyToPaste does not provide those today — roles, audit logs and SSO are on its roadmap and the pricing page marks them as planned, so plan for them elsewhere until they ship.

Summary

Secrets management for a small team is mostly about reducing places a secret can sit and shortening how long it sits there. Keep them out of code, store them in one managed place, move them with tools that do not leave copies, give out the least access, and rotate. Print the checklist, tick off the boxes you already satisfy, and fix the rest one at a time. Start with the habit that costs you least and prevents most: stop pasting secrets into chat.

All articles