Skip to content
Start a project
EngineeringSecurity25 Sept 2026Updated 1 Nov 20261 min read

Never accept a client secret through a web form

An agency that stores its clients' API keys has built a single point of failure for every client at once.

Valentir Engineering Desk

Architecture diagram: Never accept a client secret through a web form

Every project needs access to accounts the client owns: analytics, DNS, a payment gateway, a shipping provider. The default approach is a form. Paste the key here and we will keep it safe. It is convenient, and it is a bad idea.

The problem is aggregation. One agency database holding many clients' payment gateway keys is a more attractive target than any one of those clients, and a single mistake exposes all of them at once. Running a studio does not make us qualified to hold that.

So our rule, stated on our security and privacy pages, is that we never accept a real secret through a web form. The account stays under the client's ownership. We are added as a user on it, and removed at handover. Access is limited to the project and governed by the contract.

In practice that sorts every credential into one of two groups:

  • A value that is public by nature, such as an analytics property ID or a domain name, can simply be sent to us.
  • A value that is secret, such as a gateway key or a registrar login, is not sent to us at all. We ask to be added to the account instead.

At handover the client removes our access themselves, on their own account. They do not have to take our word that we deleted something.

The cost is some extra setup at the start of a project. We think that is a fair price for having nothing worth stealing in our own systems. What this is not: a security certification or an independent audit. Our security page says plainly that we claim neither.

Get our notes by email

We email our notes when we publish something worth your time.

We use your email only to send these notes, when we publish something worth your time. How we handle it is on our privacy page.

Search on Google and want more notes like this in your results? Add Valentir as a preferred source on Google.

If you want to argue with any of this, that is what hello@valentir.in is for.

Start here

Tell us what you want to build.

One call, a deterministic technical scope, and a 100% fixed price. From architecture to launch, we engineer software that drives real business results.

Contact UsChat on WhatsApp