skip to content

A managed store reports that encryption at rest is enabled by default - which risk does that remove, and which does it leave?

level: middleimportance: must knowfreq 66%

answer

  1. on by default, and narrow
  2. media, not callers
  3. service decrypts for whoever passes
  4. custody is the unanswered question
  5. the default key is the provider's

basics

~20 s

Default encryption at rest protects bytes on the provider's media against drive loss, disposal or raw block access. It restricts nobody who calls the service: an authorized caller, and the provider holding the key, still get plaintext.

solid answer

~40 s

Enabled-by-default encryption at rest means the service encrypts what it writes to its own media, using a data key it wraps under a key the provider holds. The risk that removes is physical: a drive pulled, failed, resold or disposed of carries ciphertext rather than readable blocks. It removes nothing above the service boundary, because the service decrypts transparently for any caller the access policy admits - so an over-broad grant reads exactly as much plaintext as a correct one. It also says nothing about the provider, which holds the key under the default. The honest summary is that `encryption at rest: enabled` answers where the bytes are ciphertext, never who can turn them back into plaintext. Custody is the second question and the interesting one.

go deeper

for a junior

Recall that stored data being encrypted is about the bytes on disk, not about who is allowed to ask for them. Permissions decide who reads; encryption decides what an intact disk looks like to someone holding it.

for a middle

Explain envelope encryption in one breath - a data key encrypts the object, a longer-lived key wraps the data key - and then say where the default leaves custody and why transparent decryption makes access control the separate control.

for a senior

Show you interrogate the claim: ask which key, at what scope, and whether replicas, service-taken backups and plaintext exports are still covered. Be able to say what you would actually pull if asked to make an archive unreadable tomorrow.

for a principal

Frame it as a control-attribution problem. Decide which obligations the default genuinely discharges and which need custody, and set the standard for when a team may rely on the default rather than taking on a key it now has to operate.

## What the default actually does Large providers commonly enable **encryption at rest** on storage and managed-database services without being asked, and the setting that reports it is telling you something narrow and real: the bytes are ciphertext on the media the provider owns. The usual construction is **envelope encryption**. The service generates a symmetric **data key**, encrypts your blocks or objects with it, and stores that data key **wrapped** under a longer-lived key held in the platform's key service. Every authorized read is decrypted on the way out, transparently - no client change, no key ever reaching your application. That retires a specific, physical class of exposure: - a drive that fails, is pulled from a rack, resold, or handed to a disposal contractor; - staff with hands on hardware but no route through the service API; - raw blocks recovered from the storage layer beneath the service; - an audit requirement that no customer data sits in plaintext on disk. These are genuine risks, and the default retires them at almost no cost to the provider, which is exactly why it is a default: it is the one guarantee that scales to every tenant identically. ## The boundary it does not cross Decryption happens **inside the service, on behalf of whoever the service admits**. Once a request passes the access check, the answer is plaintext. So an enabled at-rest setting tells you nothing about: - **who may call the store** - an over-broad permission reads exactly as much plaintext as a correct one; - **the provider's own reach** - under a provider-held key, the party operating the key is also the party able to use it; - **what leaves** - an export, a copy restored into another system, or a feed into a data pipeline is plaintext at the moment it is produced, and is protected by whatever the destination does; - **whether the data could ever be made unreadable** - that follows from holding the key, not from using encryption. A sentence worth carrying into an interview: at-rest encryption answers *where the bytes are ciphertext*; it never answers *who can turn them back into plaintext*. ## The custody question the setting hides Custody is the axis the checkbox does not report, and there are three honest positions on it. | Custody posture | Who holds the key | What it gives you | What it costs | |---|---|---|---| | Provider-held default | the provider, usually per service or per account | encryption with no work and no new failure mode | no revocation switch, no key-level record, no say in scope | | A key you control in the platform's key service | you, under your own account and key policy | key revocation, a record of key use, key policy separate from store policy | the key service is on the read path, and a key you can lose | | Key material in a store you operate | you, entirely | custody that survives the provider relationship | every read depends on a system your team runs and is paged for | The default silently picks row one, and with it three things you did not choose: the **scope** of the key (often one key for a whole service or account, so there is one switch for everything under it), its **lifecycle** (rotation cadence, version retention, destruction are the provider's), and the absence of a key-use record distinct from the store's own access logs. ## How to interrogate the setting When someone shows you the enabled checkbox as evidence, ask in this order: 1. **Which key is it** - the service default the provider holds, or one you control? 2. **What is its scope** - the whole store, an account, or something narrower such as a key per tenant? 3. **If you had to make this data unreadable tomorrow, which switch would you pull** - and does that switch belong to you? 4. **Does the answer still hold for copies** - replicas, service-taken backups, and anything already exported in plaintext? Question four is where the claim usually breaks. Replication copies ciphertext faithfully and a retention-bound backup is a separate copy with its own lifetime, while an export is plaintext the moment it is produced and has left the key's protection entirely. ## What the default is genuinely good for None of this makes the default worthless. It is the right posture for the large majority of workloads: it costs nothing, it removes a class of physical exposure that you cannot otherwise address on rented hardware, and it satisfies a common control requirement honestly. The defect is not turning it on - it is treating it as an answer to a question it was never asked, and then discovering during an incident or a contract review that nobody on the team holds a key.

  • Does enabling encryption at rest change anything for the application reading the data?
    Normally nothing at all. The service holds the data key, decrypts on the read path and returns plaintext, so client code, drivers and query behaviour are unchanged. That transparency is precisely why the setting can be a default, and also why it provides no defence against a caller the access policy already admits.
  • If the setting is on, is the data protected while it travels to the caller?
    No - that is a different mechanism with its own keys and its own negotiation. At-rest encryption covers bytes sitting on media; protection while they cross the network is separate and is configured separately. A system can have one without the other, and interviewers use the conflation as a quick depth check.
  • A team disables the encryption setting on a store. What happens to objects already written?
    They stay as they are - already-written ciphertext keeps the key it was written under, and the service keeps decrypting it. Changing the setting governs how new writes are handled, not the existing data. Making existing data unreadable requires acting on the key, which under the default posture you do not hold.

A landlord who fits the building with a good front door and keeps the master key. The lock is real, and it is not yours to withdraw.

saying these in an interview costs you the question

  • Says encryption at rest stops an over-broad access grant from exposing data.
  • Believes the provider cannot read data encrypted under its own default key.
  • Treats the enabled setting as evidence the data could be made unreadable.
  • Thinks the caller must supply a key, so the default blocks a stolen credential.
  • Confuses protection at rest with protection while bytes cross the network.