Course contentsShow
← Cloud and Infrastructure
Lesson 2299 of 2,98949. KMS and EncryptionFree lesson

Server-Side Encryption with Customer Keys

Understand providing your own keys to cloud services while they handle encryption operations and key lifecycle.

Server-Side Encryption with Customer Keys

What you'll learn: How to maintain control over your encryption keys while letting cloud providers handle the actual encryption operations.

The Core Concept

Server-Side Encryption with Customer Keys (often abbreviated as SSE-C or BYOK – Bring Your Own Key) is a hybrid encryption model where you generate and manage your own encryption keys but the cloud provider performs the encryption/decryption operations on their infrastructure.

This differs from the previous lesson's provider-managed keys model. Here, you're responsible for the key material itself—generating it securely, storing it, rotating it, and providing it with every encryption or decryption request.

How It Works

When you want to encrypt data:

  1. You generate your encryption key using your own key management system
  2. You send both your data and your key to the cloud service via HTTPS
  3. The cloud service encrypts your data using your key
  4. The cloud service immediately discards your key from memory
  5. Your encrypted data is stored; the key is not

When you need to decrypt:

  1. You must provide the exact same key with your request
  2. The service decrypts the data and returns it
  3. The key is again discarded from the service's memory

The Trade-Off

Think of this like a safety deposit box where you bring your own lock. The bank provides the vault and physical security (server-side infrastructure), but only your key opens that specific box. If you lose your key, even the bank can't help you access your contents.

Key Takeaway: Server-Side Encryption with Customer Keys gives you complete control over key material while offloading encryption operations to the cloud provider—but you're responsible for key availability, lifecycle, and preventing key loss.