# US 2024/0204985 A1 · Systems and methods for minimizing impact of breach of encryption and signing keys in multi-cloud environments

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2024/0204985 A1
- Document ID: US20240204985A1
- Status: Published application
- Kind: A1
- Application number: 18/066,116
- Filed: 2022-12-14
- Published: 2024-06-20
- Earliest claimed: 2022-12-14
- Assignees: JPMorgan Chase Bank, N.A.
- Applicants: Jpmorgan Chase Bank, N.A.
- Inventors: Reetu BOK; Dipti AHUJA; Bipin MORE; Neeraj TATI; Valanka FERNANDES
- Web page: https://patentgrep.com/patent/US20240204985A1

## CPC

- H04L 9/002: {Countermeasures against attacks on cryptographic mechanisms (network architectures or network communication protocols for protection against malicious traffic H04L63/1441)}
- H04L 9/0631: {Substitution permutation network [SPN], i.e. cipher composed of a number of stages or rounds each involving linear and nonlinear transformations, e.g. AES algorithms}
- H04L 9/0822: {using key encryption key}
- H04L 9/0825: {using asymmetric-key encryption or public key infrastructure [PKI], e.g. key signature or public key certificates}
- H04L 9/0894: {Escrow, recovery or storing of secret information, e.g. secret key escrow or cryptographic key storage}
- H04L 9/14: using a plurality of keys or algorithms
- H04L 63/062: {for key distribution, e.g. centrally by trusted party (cryptographic mechanisms or cryptographic arrangements for key distribution involving a central third party H04L9/0819)}
- H04L 2463/062: applying encryption of the keys
- H04L: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

A method for generating keys in a multi-cloud environment that minimizes the impact of a breach may include: generating and storing a first key encryption key (KEK) in a first environment key management service (KMS); generating a first data encryption key (DEK) using the first KMS; generating a second DEK for a second environment using the first KMS; encrypting the first DEK with the first KEK and the second DEK with the first KEK; storing the encrypted first DEK and the encrypted second DEK in a database; generating a second KEK and storing the second KEK in a second environment KMS; encrypting the first DEK with the second KEK and the second DEK with the second KEK; and storing the encrypted first DEK and the encrypted second DEK in the database.

## Claims

### Claim 1

A method for generating keys, comprising:
generating, by a computer program executed by a first cloud environment, a first key encryption key and storing the first key encryption key in a first cloud environment key management service;
generating, by the computer program, a first data encryption key using the first cloud environment key management service;
generating, by the computer program, a second data encryption key for a second cloud environment using the first cloud environment key management service;
encrypting, by the computer program, the first data encryption key with the first key encryption key and the second data encryption key with the first key encryption key;
storing, by the computer program, the first data encryption key encrypted with the first key encryption key and the second data encryption key encrypted with the first key encryption key in a database of the first cloud environment;
generating, by the computer program, a second key encryption key and storing the second key encryption key in a second cloud environment key management service;
encrypting, by the computer program, the first data encryption key with the second key encryption key and the second data encryption key with the second key encryption key; and
storing, by the computer program, the first data encryption key encrypted with the second key encryption key and the second data encryption key encrypted with the second key encryption key in the database of the second cloud environment.

### Claim 2 (depends on 1)

The method of claim 1, wherein the first data encryption key comprises a symmetric key.

### Claim 3 (depends on 2)

The method of claim 2, wherein the symmetric key comprises an AES 256 key.

### Claim 4 (depends on 1)

The method of claim 1, wherein the first data encryption key and the second data encryption key comprise asymmetric keys.

### Claim 5 (depends on 1)

The method of claim 1, further comprising:
receiving, at a load balancer computer program for the first cloud environment and the second cloud environment and from a consumer application, a first consumer application request to encrypt data;
routing, by the load balancer computer program, the first consumer application request and the data to one of the cloud environments based on a routing rule;
retrieving, by an application instance in the one cloud environment, the first data encryption key from the database for the one cloud environment;
decrypting, by the application instance and with a key encryption key for the one cloud environment, the first data encryption key;
encrypting, by the application instance, the data with the decrypted first data encryption key; and
returning, by the application instance, the encrypted data to the consumer application.

### Claim 6 (depends on 5)

The method of claim 5, wherein the load balancer routes the first consumer application request one of the cloud environments that is not undergoing healing.

### Claim 7 (depends on 1)

The method of claim 1, further comprising:
receiving, at a load balancer computer program for the first cloud environment and the second cloud environment and from a consumer application, a first consumer application request to decrypt data and an identifier for a data encryption key that was used to encrypt the data, wherein the identifier identifies the first data encryption key or the second data encryption key;
routing, by the load balancer computer program, the first consumer application request and the data to one of the cloud environments based on a routing rule;
retrieving, by an application instance in the one cloud environment, a data encryption key associated with the identifier from the database for the one cloud environment;
decrypting, by the application instance and with a key encryption key for the one cloud environment, the retrieved data encryption key;
decrypting, by the application instance, the data with the decrypted data encryption key; and
returning, by the application instance, the decrypted data to the consumer application.

### Claim 8 (depends on 7)

The method of claim 7, wherein the load balancer routes the first consumer application request one of the cloud environments that is not undergoing healing.

### Claim 9 (depends on 1)

The method of claim 1, further comprising:
receiving, at a load balancer computer program for the first cloud environment and the second cloud environment and from a consumer application, a first consumer application request to decrypt data;
routing, by the load balancer computer program, the first consumer application request and the data to one of the cloud environments based on a routing rule;
retrieving, by an application instance in the one cloud environment, the first data encryption key and the second data encryption key;
decrypting, by the application instance, the first data encryption key and the second data encryption key with the key encryption key for the one cloud environment;
decrypting, by the application instance, the data with the decrypted first data encryption key and the second data encryption key;
identifying, by the application instance, valid decrypted data; and
returning, by the application instance, the decrypted data to the consumer application.

### Claim 10 (depends on 9)

The method of claim 9, wherein the load balancer routes the first consumer application request one of the cloud environments that is not undergoing healing.

### Claim 11

A non-transitory computer readable storage medium, including instructions stored thereon, which when read and executed by one or more computer processors, cause the one or more computer processors to perform steps comprising:
generating a first key encryption key and storing the first key encryption key in a first cloud environment key management service;
generating a first data encryption key using the first cloud environment key management service;
generating a second data encryption key for a second cloud environment using the first cloud environment key management service;
encrypting the first data encryption key with the first key encryption key and the second data encryption key with the first key encryption key;
storing the first data encryption key encrypted with the first key encryption key and the second data encryption key encrypted with the first key encryption key in a database of the first cloud environment;
generating a second key encryption key and storing the second key encryption key in a second cloud environment key management service;
encrypting the first data encryption key with the second key encryption key and the second data encryption key with the second key encryption key; and
storing the first data encryption key encrypted with the second key encryption key and the second data encryption key encrypted with the second key encryption key in the database of the second cloud environment.

### Claim 12 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the first data encryption key comprises a symmetric key.

### Claim 13 (depends on 12)

The non-transitory computer readable storage medium of claim 12, wherein the symmetric key comprises an AES 256 key.

### Claim 14 (depends on 11)

The non-transitory computer readable storage medium of claim 11, wherein the first data encryption key and the second data encryption key comprise asymmetric keys.

### Claim 15 (depends on 11)

The non-transitory computer readable storage medium of claim 11, further including instructions stored thereon, which when read and executed by one or more computer processors, cause the one or more computer processors to perform steps comprising:
receiving, from a consumer application, a first consumer application request to encrypt data;
routing the first consumer application request and the data to one of the cloud environments based on a routing rule;
retrieving the first data encryption key from the key management service for the one cloud environment;
decrypting, with a key encryption key for the one cloud environment, the first data encryption key;
encrypting the data with the decrypted first data encryption key; and
returning the encrypted data to the consumer application.

### Claim 16 (depends on 15)

The non-transitory computer readable storage medium of claim 15, wherein the first consumer application request is routed to one of the cloud environments that is not undergoing healing.

### Claim 17 (depends on 11)

The non-transitory computer readable storage medium of claim 11, further including instructions stored thereon, which when read and executed by one or more computer processors, cause the one or more computer processors to perform steps comprising:
receiving, from a consumer application, a first consumer application request to decrypt data and an identifier for a data encryption key that was used to encrypt the data, wherein the identifier identifies the first data encryption key or the second data encryption key;
routing the first consumer application request and the data to one of the cloud environments based on a routing rule;
retrieving a data encryption key associated with the identifier from the database for the one cloud environment;
decrypting, with a key encryption key for the one cloud environment, the retrieved data encryption key;
decrypting the data with the decrypted data encryption key; and
returning the decrypted data to the consumer application.

### Claim 18 (depends on 17)

The non-transitory computer readable storage medium of claim 17, wherein the first consumer application request is routed to one of the cloud environments that is not undergoing healing.

### Claim 19 (depends on 11)

The non-transitory computer readable storage medium of claim 11, further including instructions stored thereon, which when read and executed by one or more computer processors, cause the one or more computer processors to perform steps comprising:
receiving, from a consumer application, a first consumer application request to decrypt data;
routing the first consumer application request and the data to one of the cloud environments based on a routing rule;
retrieving the first data encryption key and the second data encryption key;
decrypting the first data encryption key and the second data encryption key with the key encryption key for the one cloud environment;
decrypting the data with the decrypted first data encryption key and the second data encryption key;
identifying valid decrypted data; and
returning the valid decrypted data to the consumer application.

### Claim 20 (depends on 19)

The non-transitory computer readable storage medium of claim 19, wherein the first consumer application request is routed to one of the cloud environments that is not undergoing healing.
