skip to content

Your team replaced a long-lived signing key with keyless signing — what did that move custody to?

level: seniorimportance: must knowfreq 57%

answer

  1. removed storage custody, gained issuance custody
  2. who can become you?
  3. the admin group is the new vault
  4. the log detects, it does not prevent
  5. issuer and CA are inside your trust boundary

basics

~20 s

Custody moved rather than disappeared. The new crown jewels are whoever can cause an identity to be minted for your workload, the certificate authority your verifiers trust, and the transparency log — which only helps if somebody actually watches it.

solid answer

~50 s

Removing the stored key removes the thing an attacker used to steal, and replaces it with the ability to *become* you. Anyone who can cause an identity token to be issued for your build — a CI organisation administrator, anyone who can add or edit a workflow in the repository, anyone who can change which repository or environment maps to your release identity, and the operators of the identity provider itself — can obtain a fresh certificate and sign anything. The certificate authority that issues on the strength of that token is now a trust root your verifiers depend on. And the transparency log, whose entry makes an expired certificate verifiable, is a detective control: it records that a certificate was issued under your identity, but it blocks nothing, and nobody sees it unless someone monitors it. So access review of the CI organisation and the issuer configuration is now key-ceremony-grade work.

go deeper

for a junior

Know that keyless signing does not mean nobody can sign as you — it means the ability to sign follows from an identity your CI system can obtain, not from holding a secret.

for a middle

Be able to trace the issuance path end to end and point at each new trusted party: the identity provider, the certificate authority, and the transparency log that makes later verification possible.

for a senior

An interviewer expects you to name the new asset concretely — the admin groups and workflow-edit rights that let someone obtain a credential as you — and to say whether anything monitors the log today.

for a principal

Own the trust decision explicitly: you have placed a managed identity provider and a CA inside your trust boundary, and you should be able to say who accepted that risk and under what compensating controls.

## The move is real, and so is the bill Dropping a long-lived signing key is usually the right call. The thing you were failing to guard — a secret with an indefinite lifetime, an unclear list of holders, and a rotation date nobody hit — is genuinely gone. But signing is an assertion of identity, and identity has to come from somewhere. When it stops coming from possession of a key, it starts coming from an identity system. That system is now the custodian. ## The three new custodians **1. Whoever can cause an identity to be minted for your workload.** This is the big one, and it is much wider than people expect. In a CI setting the identity token asserts machine facts: this issuer, this repository, this workflow, this branch or environment. Everyone who can influence those facts can influence who gets to sign: - an administrator of the CI provider's organisation or tenant, who can change org-level settings, add repositories, or alter which identities are permitted; - anyone able to merge a change to a workflow that runs with the release identity; - anyone who can modify the mapping between a repository or environment and a release identity; - the managed CI provider's own operators, since the token is minted by their service. That last one deserves saying out loud. A fintech that moves to keyless signing has, in effect, decided that the administrators of its CI provider's organisation — and the provider's own operators — are trusted to produce release signatures. Sometimes that is an entirely reasonable trade, because the same people already controlled the build. But it must be a decision, not a surprise, and the compromised-operator case is a genuine threat model: a compromised managed-CI operator does not need to steal anything from you, because they can mint the credential. **2. The certificate authority.** Verifiers are configured to trust the CA's root. That root is now the anchor of your whole scheme, and its compromise is broader than the compromise of any one signing key: it does not just forge your signatures, it forges everyone's. **3. The transparency log.** The log is what lets a certificate that lived for minutes still support verification a year later, so it sits in the verification path. It is also the only place a bogus issuance under your identity becomes visible. Note the direction carefully: **the log is detective, not preventive.** It does not stop a certificate being issued; it makes issuance discoverable to someone who looks. If nobody monitors entries for your identity, the log is only useful after an incident, as evidence. ## What this changes operationally | Old custody problem | New custody problem | | --- | --- | | Who holds a copy of the key? | Who can get a token minted as us? | | When was it last rotated? | Who has admin on the CI org and the issuer configuration? | | Is it on an HSM? | Is anything watching the log for certificates under our identity? | Concretely: - **Treat CI organisation admin membership as key custody.** Changes to it deserve the scrutiny a key ceremony would get: named holders, review, an audit trail. - **Protect the path to the release identity.** Which workflows can assume it, and what review a change to those workflows requires, is the equivalent of who can open the safe. - **Monitor the log for your own identity.** This is the step almost nobody does by default, and it is the only detection available. Without it, the answer to "has anyone ever signed as us?" is "we have no idea, but the evidence exists if we ever go looking." - **Record the trust decision.** Write down that the identity provider and CA are now in your trust boundary, and who accepted that risk. ## The honest interview answer Candidates who say keyless "removes the key management problem" and stop there have read a landing page. The strong answer is: it removes *storage* custody and replaces it with *issuance* custody, which is generally a better trade because issuance is short-lived, logged, and tied to identities you already administer — but only if you actually administer them, watch the log, and know that the CA and issuer are now inside your trust boundary. The question an interviewer is really asking is whether you can name the new asset. It is the ability to obtain a credential in your name, and it usually lives in an access-control group, not a vault.

  • Name the people who can currently cause a signature to be produced under your release identity.
    Typically: administrators of the CI organisation or tenant, anyone who can merge a change to a workflow that runs with the release identity, anyone who can change the mapping from repository or environment to that identity, and the managed provider's own operators. If you cannot produce that list on demand, the honest answer is that custody is currently undocumented — which is where the old stored-key problem quietly reappears.
  • The transparency log cannot block a bogus certificate, so what is it actually buying you?
    Discoverability. It is a detective control: because the log is append-only and public, an issuance under your identity leaves a record that cannot be quietly removed, so monitoring can surface a signature you never made. It also carries the timestamp that makes an expired certificate verifiable. Without monitoring, it is evidence for an investigation rather than a detection.
  • Is it fair to say keyless signing is strictly more secure than a key on a hardware security module?
    No, and claiming it is a red flag. An HSM-held key with genuinely restricted, audited access is a strong control; keyless wins mostly because most organisations never achieve that in practice, and because short-lived credentials plus a public log bound the damage and make abuse visible. It is a better default, not a strict improvement.

You stopped keeping a master key in a safe and started letting the front desk issue passes on request. The safe is no longer a target; the front desk is.

saying these in an interview costs you the question

  • Says keyless removes the key management problem entirely
  • Cannot name who can mint an identity for the build
  • Treats the transparency log as a preventive control
  • Forgets the CA root is now a trusted anchor
  • Never monitors the log for its own identity

context