# Clients want admin rights early. Hand them over in stages

> Least privilege runs both ways: the client gets admin once they need it, and you keep only the access their own systems approve.

Original: https://fdetimes.net/en/guides/client-admin-access-source-code-handover/

PostHog's FDE handbook allows an engagement to move to closed only when two things are both done: the designated owner on the client side has approved the final product, and the handover is complete. It sounds obvious. Yet the rule blocks the most familiar shortcut in the trade: deploy, send the repo link, move on to the next client.

In practice, handover often starts earlier than you would like, with an email: the client wants admin rights and all the source code. There are two easy reflexes. One is to agree at once to protect the relationship; the other is to stall for fear the client will break a system that is running.

Both get the timing wrong. How you handle this request decides who gets woken at midnight six months from now, and whether the client truly believes the system is theirs.

## Hand over ownership in stages

NIST defines least privilege as limiting access to the minimum needed to perform assigned tasks. The principle is usually applied only to keep outsiders out. During a handover, apply it to both sides.

On the client side, grant admin rights only when they have work that needs them and have been shown how to do it. On your side, Twingate advises that vendor engineers working in a client environment should have access scoped to individual resources, not the whole network.

Twingate also recommends that every grant of access to you be approved in the client's own management system, not only in yours.

That requirement has a consequence few people notice. If the client is the one granting your access from day one, they hold part of the ownership from the start of the project. The two sides then swap roles gradually, week by week, instead of cramming the whole handover into the final week.

## What is the client worried about when they ask for the code?

Behind a request for source code there is usually a fear of lock-in: what if the vendor disappears? The lawyer Kesslen argues that for SaaS, traditional source code escrow is not enough to reduce that risk. In Kesslen's view, the client also needs a copy of its own data and detailed build documentation to recreate the production environment.

So when a client asks for the source code, a good answer is to give them a fuller package than the one they asked for. Simple Thread's handover checklist suggests what that package contains: a README with setup and deployment steps, pinned dependency versions, a production-like environment, transferable third-party accounts, and the assets that do not live in source control.

Simple Thread also calls the test suite "executable documentation". In practical terms, a good test suite is something the client can run to check for themselves that they have not broken anything.

**Key point:** Clients ask for source code because they fear lock-in, and a repo on its own does not remove that fear.

## Scenario: the call with the head of IT

Take a hypothetical case. You are deploying a document-processing agent for a client, and it has been in production for two weeks. The client's head of IT writes: "We need admin access and the full repo this week."

Do not answer with "yes" or "not yet". Reply along these lines: "Agreed, the goal is that by the end of the project your team runs this without us. We propose four stages, each with a condition for moving to the next. Does this look reasonable?" Then send the table below, which is also the four stages in the diagram at the top.

| Stage | What the client has | What the FDE keeps | Condition to move on |
|---|---|---|---|
| 1. Side by side | Read access to the repo, logs and dashboards; admin account created but not yet granted rights | Deploy rights, scoped to resources | The client reads the README and builds a production-like environment on its own |
| 2. Client drives, FDE beside them | Deploy rights, running releases under observation | Read access, steps in when invited | The client deploys and rolls back successfully on its own |
| 3. Role swap | Admin account fully activated, every third-party account in the client's name | No standing access | The client confirms it can log in to every system |
| 4. Close | Full control, with documentation of everything delivered | Nothing | The client deletes the vendor's admin, the owner signs off |

The table answers the client's worry directly: they can see the day they take full control. It also protects you, because every grant of access comes with a task the client has shown it can do.

## How to do it on your project

Start with an inventory. List everything the system needs to run: repos, secrets, cloud accounts, third-party API keys, domains, configuration files that live only on someone's laptop. The last item is the one most often forgotten.

Next, schedule the side-by-side period. Simple Thread ranks working alongside the previous engineers as the most important item on its checklist, because it does most to make the transition smooth.

This is when knowledge that is not in the documentation gets passed on, such as why a job runs at 3am or why a threshold is set to an odd value.

Some assets need careful timing. An offboarding checklist on dev.to advises generating the domain transfer code close to the transfer date, and notes that newly registered domains are locked for about 60 days. If the project has just bought a domain, put that milestone in the plan from the start.

The final step must be done in the right order. The same checklist says the client should confirm it can log in before the agency's Administrator account is deleted. Reverse the order and both sides may be locked out of the system.

## Mistakes that make a handover drag on forever

The first is granting emergency access too often. Twingate puts it bluntly: if break-glass is a regular part of the support process, it is no longer break-glass. If you are asking for emergency access every week, the permission model has a problem and the handover is not finished.

The second is handing over the repo without handing over how to build it. The client gets the code but, unable to rebuild the environment, depends on you as much as before. The third is pausing a project midway without writing anything down. The PostHog handbook requires recording what has been delivered even when an engagement is paused, so it can restart quickly later or close cleanly.

## An exercise, and how to put this skill on your CV

This week, draw up a four-stage table like the one above for your current project, with concrete conditions for moving between stages. Then ask yourself: if you quit today, which stage would the client be at?

When reading FDE job ads, look for words such as handover, enablement or customer ownership. If you see them, have a story ready for the interview about a time you handed a system over to a client completely.

On your CV, do not just write "deployed system X". Write that you transferred full operational ownership to the client's team, with runbooks and build documentation that let them deploy on their own.

The measure of a good FDE is whether anyone thinks of you on the night of the first incident after you have left. When the handover is done right, nobody needs to call.

**Try this week:**

- List every account, secret, domain and non-Git asset in your current project, and note whose name each one is in
- Ask a colleague who has never touched the project to follow the README and deploy to a production-like environment, then fix every place they get stuck
- Review your own access to the client's systems: reduce every network-wide permission to specific resources

## Sources

- [FDE engagement lifecycle - Handbook (PostHog)](https://posthog.com/handbook/forward-deployed-engineering/fde-engagement-lifecycle)

- [Checklist for Handing Off a Software Project - Simple Thread](https://www.simplethread.com/handing-off-a-software-project/)

- [least privilege - NIST CSRC Glossary](https://csrc.nist.gov/Glossary/term/least_privilege)

- [Day Two of BYOC: Supporting and Troubleshooting Deployments You Don't Own](https://www.twingate.com/blog/byoc-deployments)

- [The Clean Offboarding Checklist: How to Hand Over Digital Assets Without Liability](https://dev.to/instarenewal/the-clean-offboarding-checklist-how-to-hand-over-digital-assets-without-liability-4l2o)

- [Source Code Escrow Agreements Are Reaching For The Cloud (Kesslen, Law360)](https://www.lowenstein.com/news-insights/publications/articles/source-code-escrow-agreements-are-reaching-for-the-cloud-kesslen-satlin)
