data.day

“We’re in Frankfurt” — and the Keys Are Still Abroad

Distinguish data location, key custody and plaintext access. Inspect external key management, HSM permissions, recovery and caching before accepting a sovereignty claim.

Geography is Not Security

Consider an illustrative architecture diagram: stored content sits in Frankfurt, while identity and key-management services appear in separate boxes. The picture is a starting point, not a security verdict.

Identity checks, permission decisions and cryptographic operations are different functions. Determine what travels between those boxes: identifiers, ciphertext, key material, operation requests or plaintext. Do not assume that a line labelled IAM carries content keys.

If a key-management component is operated abroad, that does not move every stored byte to that country. It introduces an access, operational or legal question to assess. Establish the actual deployment and data flows before claiming that each file opening calls another continent.

The Trap: The Residency Mirage

Residency and control describe different properties. A contractual promise to store content locally can be true even where the application has an authorised decryption path. The review must address both.

Ask who can make the data readable and under which permissions.

Server-side encryption normally supports the service’s authorised processing. Whether that meets the requirement depends on the threat being addressed. Key location alone does not establish legal residence or make possession of a key legally identical to possession of every record.

Separate custody of long-term key material from permission to use a cryptographic operation and from access to its readable result. A key can remain in an HSM while an authorised service still obtains plaintext.

Compare two conceptual boundaries:

External key; cloud service decrypts
  Cloud service -> authorised request -> external key manager
  Operation succeeds -> service obtains readable data

Content plaintext excluded from storage provider
  Approved endpoint + key -> encrypt -> stored ciphertext
  Stored ciphertext -> approved endpoint + key -> readable data

The second boundary requires checking clients, sharing and recovery as well as storage. These are schematic designs, not descriptions of a particular deployment or proof that an external manager always works one way.

The Exit Strategy: Segregation of Duties

Separating the Storage Provider from the Key Operator can add an independent control. It is not sufficient to infer the whole security result from their different company names or addresses.

For a concrete example, AWS documents its external key-store workflow. External key material remains outside AWS, yet the workflow returns a plaintext data key to the AWS service for resource processing. The documentation also notes that some services cache plaintext data keys. External custody therefore does not automatically exclude authorised service-side plaintext.

For the service under review, require answers to three questions:

  • The required boundary: Are we controlling key operations, excluding particular staff roles, or excluding the provider from content plaintext altogether? State the intended protection precisely.
  • The implementation: Who administers the key manager or HSM, grants operation permissions, approves exceptions and controls recovery? Which application component receives a usable data key or plaintext?
  • The revocation result: What stops when permission is withdrawn, and when? Test caches, active sessions and previously produced copies. Revocation does not recall plaintext already obtained.

Test availability and recovery too. An external key service can become another dependency; losing essential key material can make records unreadable. Check supported recovery and export procedures rather than assuming an HSM in a local building solves them.

Keep the configuration, test results and legal assessment together. “We do not hold the external key” is a narrower statement than “we cannot produce plaintext.” The distinction matters whenever public records depend on the answer.

FAQs

What is a root key?

The term depends on the system. A key hierarchy may use key-encryption keys to protect data keys, with separate permissions for each role. Ask which key protects which material and who may invoke the relevant operations; do not assume one universal master key.

The vendor says they have 'internal controls' preventing access. Is that enough?

Internal controls can include technical restrictions, hardware boundaries, approvals and audit records. Assess their evidence against your threat model. A policy statement alone and an HSM label alone are both incomplete answers.

Is Bring Your Own Key (BYOK) expensive?

Assess key-service fees, integration, redundancy, operation and recovery. The cost depends on the design. BYOK describes a key-supply arrangement, not a guarantee that the provider cannot decrypt or that the service will remain available.