T-Systems-Claim-Logo
Search
IM-Cloud-mit-Cisco

What is T-Systems’ External Key Management?

Highest security level to access your data in AWS

April 28 2023Louay Mresheh

And where are your encryption keys?

Holding data in the cloud has always been associated with the question of secure and private access to it. It is imperative for organizations to have full control of encryption keys to their data in the cloud and to be able to revoke this access at any time.
To support the customer in this, T-Systems has launched a new product, External Key Management (EKM) as announced in their press release on 30th November 2022.

Encrypting Data in AWS with External Keys

Mann vor Computer - AWS

Encrypting data in the cloud is a fundamental requirement of cloud security. However, using and managing data encryption keys in a public cloud is challenging. Sensitive data encryption and privacy have recently received widespread attention and focus in the IT industry. This can be partially attributed to compliance requirements such in Schrems II rulings and GDPR regulations which have made cloud providers realize that it is incumbent upon them to strive to develop new services and features to address these new data privacy requirements.AWS released their new solution External Key Store (XKS) at the annual AWS re:Invent 2022. This solution was developed after extensive collaboration between experts from AWS, HSM and key management providers, and Managed Cloud Services providers (MCS) such as our T-Systems security team.

AWS External Key Store

External Key Management

External Key Store (XKS) is a new feature introduced by AWS Key Management Service (AWS KMS). It is a custom key store backed by an external key manager outside AWS. This key manager can be any physical or virtual hardware security module (HSM), or any hardware-based or software-based system that can be used to generate and store cryptographic keys and perform cryptographic operations such as encrypting and decrypting data. (Here, external key manager refers to any of these concepts). AWS refers to this as Hold Your Own Keys (HYOKs), where two keys are used:

  1. XKS KMS key in KMS XKS
  2. External key in external key manager

Secure Key Management

When an AWS service requests data encryption using XKS KMS key, KMS generates a data key, encrypts it with the XKS KMS key and sends it to the external key manager and double encrypt it using the external key. KMS returns:

  • A plaintext data key used for the data encryption and is then destroyed
  • A double encrypted data key that will be stored in the service for decryption

As the plaintext data key is needed for decryption, the stored double encrypted data key must be decrypted with the external key and then with the XKS KMS key. Hence, revoking access to any of those keys will make this double encrypted data key useless, and data decryption impossible. For more information, see External key stores.

T-Systems External Key Management (EKM) Solution

 T-Systems developed EKM to support customers implementing the AWS External Key Store service while adhering to regulatory security and compliancy measures.

T-Systems EKM value proposition focuses on three areas:

  • Operating the external key manager.
  • Connecting AWS KMS to the external key manager.
  • Providing a self service product to create XKS KMS keys.

Here is a high-level abstraction of EKM:

High availability setup

Self_Service_Product

The external key manager is installed and operated by security experts in Telekom data centers. The multi-node structure in separate geographic locations ensures high availability of the key manager. Backups and key rotations are applied to all keys created in the key manager while adhering to best practices.

End-to-end security

Maintaining a secure connection with low latency between AWS XKS and the external key manager in the Telekom data centers was a top design priority. Hence, we use an end-to-end secure IPSec connection over AWS Direct Connect, leveraging our networking experiences and benefitting from our AWS Direct Connect partner status. This connection terminates at a private network we created in a central AWS account owned and operated by T-Systems. We extend the connection from this network to our customers’ AWS accounts using AWS PrivateLink.
When a new customer requests the service, a dedicated domain is created in the external key manager and the PrivateLink endpoint service is shared with their AWS account. In the customer account, some networking resources must be created to connect the XKS store to the external key manager via the AWS PrivateLink.  We support our customers to create these resources using an AWS CloudFormation template. After creating the network, T-Systems creates the XKS store for customers and connects it to their domain in the external key manager.

Leveraging AWS Service Catalog for EKM Usage

After connecting the XKS store with the corresponding domain in the external key manager, we enable our customers to create XKS KMS keys that are backed by keys created in their domain in the external key manager using our secure and fully automated self-service product. After sharing the product, the customer can specify which IAM roles, users, or groups are allowed to launch and create XKS KMS keys. When an authorized user wishes to create an XKS KMS Key, they can simply launch the product with the following parameters:

  • XKS KMS Key name
  • External Key Store Name (in which the key is to be created)

The product first creates an external key in the customer domain of the external key manager. Then it creates an XKS KMS key in the named External Key Store that will be backed by the external key.

There is more to come

This post is kickstarting a series of posts about EKM. The follow-up blogs will cover EKM in more details explaining the network deployment and the self-service product.

About the author
Louay Mresheh, Senior AWS Solution Architect & Consultant

Louay Mresheh

Senior AWS Solution Architect & Consultant, T-Systems International GmbH

Show profile and articles
Do you visit t-systems.com outside of Germany? Visit the local website for more information and offers for your country.