Plain-English guide
Why your passwords and keys stay out of AI tools
To build anything useful for your business, a developer needs keys: the one that lets your site take card payments, the one that sends email, the login to your calendar. Those keys are as valuable as the cash drawer. This guide explains where we keep yours, why they never go into an AI tool or into the code itself, and what you can ask any developer about theirs.
By Matt Rooney · 17/11/2026 · T19 Digital · 5 min read
The short version
- Keys and passwords live in encrypted hosting settings, not in code.
- Nothing secret is ever pasted into a conversation with an AI tool.
- A leaked key can be used by anyone who finds it.
What counts as a key, and why it is valuable
A key, in this sense, is a long string of characters that proves to another service that your software is allowed to act on your behalf. Your Stripe account issues one so your booking page can take deposits. Your email provider issues one so confirmations can go out under your name. Calendar connections, accounting links and text message services all work the same way.
Anyone holding one of those strings can usually do what your software can do: take payments, send messages, read appointments. A key is not as obvious as a password written on a sticky note, but it is just as useful to the wrong person, and sometimes more so, because it often skips the extra login step that protects you when you sign in yourself.
Most owners never see their keys at all, which is part of the problem. A password you type every morning feels like yours and you guard it. A key generated once during setup and never looked at again is easy to forget exists. Yet if it ends up somewhere public, the first sign may be a refund request for a payment you never took or a complaint about an email you never sent.
Where your keys live on a project of ours
Hosting platforms provide an encrypted place to store settings that the running software can read but that never appear in the code. That is where your keys go. The code refers to a key by name, something like the payment key, and the hosting fills in the real value only when the software runs.
Keeping keys out of the code matters because code travels. It is copied between computers, kept in history, shared with another developer if you ever choose to take it elsewhere, and examined during reviews. A key written into the code would travel with it. A key held in the hosting's settings stays where it is, and can be changed there without touching the code at all.
There is a practical tidiness to it as well. Many payment and email services offer separate test keys alongside the live ones, and good practice is for a test copy of a site to use those, so trial payments never touch a real account and practice emails never reach real customers. That separation means a mistake made while testing stays a harmless mistake, which is exactly where you want mistakes to happen.
Why nothing secret goes into an AI chat
When we use AI tools to draft code, we describe what we need and review what comes back. At no point does a real password or key go into that conversation. The tools do not need it to write good code, because the code only needs to know the name of the setting, not its value.
The reasoning is straightforward. Anything typed into an online tool has left your hosting and gone somewhere else, and you cannot be certain how long it is kept or who might see it. The safest secret is one that has only ever been in one place. So we treat a key pasted into a chat the way you would treat a card number read out in a busy café: avoidable, and not worth the risk.
The same thinking applies to your own logins. Where a service lets you invite another person to help manage it, that is generally a better route than sharing your own password, because the invitation can be removed later without you changing anything else. The less often a secret is copied, typed or passed along, the fewer places it can leak from, whoever is doing the building.
An example from a grooming salon in Bury
Imagine a dog grooming salon in Bury that takes a card deposit when a new customer books a first appointment. To make that work, the booking system needs the salon's Stripe key. The owner sends it to us through the hosting, or we set it there together on a call, and it goes straight into the encrypted settings.
While building the deposit page, AI helps draft the code that asks Stripe to take a payment. That code says, in effect, use whatever is stored under the payment key. It never contains the key itself. If the salon later changes its Stripe account, or wants to cancel the old key as a precaution, the new key goes into the same setting and the booking page carries on working without any change to the code.
If the owner ever chooses to move the system to another developer, the code can be handed over in full without exposing the salon's payment account. The keys are set again in the new hosting, by the owner or with them.
What this rule does not cover
The rule is about where secrets are kept on our side. It does not protect a password you reuse across several accounts, or a login shared around a team on a scrap of paper. Those habits are worth tightening whoever builds your software, and a password manager and two-step sign-in are good places to start.
It is also not a substitute for changing a key you think may have leaked. If you suspect a key has been seen by someone who should not have it, cancel it with the service that issued it and set a new one. We can help with that, and on a care plan it is the kind of fix we handle as part of keeping things secure.
Asking the right question of any developer
Whoever builds for you, it is fair to ask where your keys will be stored, whether any of them will ever be written into the code, and whether they will be pasted into AI tools. Clear answers are a good sign. Vague ones are worth pressing on.
On our builds the answer is the same every time, from a website at £1,100–£1,600 + VAT to a booking system at £2,500–£3,500 + VAT. If you want to talk through what keys your own project would need, the first conversation is free.
It also helps to know that the accounts those keys belong to are in your name from day one. Your Stripe account, your domain and your hosting account are yours, not ours. We hold access to do the work; you hold the accounts themselves. That way, protecting your keys is never in tension with protecting your independence, and you are never relying on us to hand back something that was always yours.
Questions we get on this
Do you need my main Stripe password to set up payments?
No. Payment services issue separate keys for software to use, and a key of that kind is what a booking page needs. Your own account password stays with you, and you can cancel or replace the key from your account whenever you like.
What if I accidentally emailed you a password?
Tell us, and change it. We will use the new one only through the hosting's encrypted settings. Email is a poor place to keep anything secret, so treating a sent password as used is the sensible habit.
Are my keys in the code if I take the project elsewhere?
No. The code only refers to settings by name. When you move the project, the keys are set again in the new hosting, so handing over the code does not hand over access to your accounts.
Can AI tools write good code without seeing my keys?
Yes. Code needs to know which setting to read, not what is inside it. Keeping the real value out of the conversation costs nothing in quality and removes a needless risk.
Three things like this, once a month
What actually changed for small businesses in tech, what to do about it, and the guides we publish. No pitch, and you can leave with one click.
Read the six rules
The rules every project follows, and where you can check each one in your own account.