# US 2023/0053443 A1 · Encryption key management for international data residency

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

- Number: US 2023/0053443 A1
- Document ID: US20230053443A1
- Status: Published application
- Kind: A1
- Application number: 17/981,169
- Filed: 2022-11-04
- Published: 2023-02-23
- Earliest claimed: 2018-06-06
- Assignees: Salesforce, Inc.
- Applicants: Salesforce, Inc.
- Inventors: Audrei Drummond; Richard Crowley; James Scheinblum; Eden Ghirmai; Lydia Gorham; Pooja Mehta; Raissa Largman; Karen Nguyen; Ratnadeep Bhattacharjee; Stephen Hamrick
- Web page: https://patentgrep.com/patent/US20230053443A1

## CPC

- H04L 9/0836: {using tree structure or hierarchical structure}
- H04L 63/0428: {wherein the data content is protected, e.g. by encrypting or encapsulating the payload}
- H04L 9/0822: {using key encryption key}
- H04L 9/088: {Usage controlling of secret information, e.g. techniques for restricting cryptographic keys to pre-authorized uses, different access levels, validity of crypto-period, different key- or password length, or different strong and weak cryptographic algorithms (network architectures or network communication protocols for using time-dependent keys in a packet data network H04L63/068)}
- 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: TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION (arrangements common to telegraphic and telephonic communication H04M)

## Abstract

Media, method, and system for providing encryption key management for international data residency. Organizations using a group-based communication system can designate a particular geopolitical area where that organization's data can be stored and another geopolitical area (which may be the same or different) where encryption keys used to encrypt and decrypt that data should be stored. Users of that organization can post message or access messages previously posted on the group-based communication system from any geopolitical area, causing the system to automatically store and retrieve messages and encryption keys from the appropriate regions to allow the users to transparently access the group-based communication system while maintaining security and data residency requirements.

## Claims

### Claim 1

A system for providing encryption key management for international data residency, the system comprising:
a first data store, located in a first geopolitical area;
a second data store, located in a second geopolitical area distinct from the first geopolitical area;
a group-based communication system server, located in the first geopolitical area and programmed to:
receive, from a first client device of a first user associated with an organization, a message to be posted to a group of a group-based communication system;
determine, based on the organization, that data associated with the organization should be stored in the second geopolitical area;
encrypt, as an encrypted message, the message using an organization-specific encryption key;
store information indicative of a storage location for the encrypted message in the first data store;
store the encrypted message in the second data store;
receive, from a second client device of a second user associated with the organization, an indication of an attempt to access the message;
retrieve, from the first data store, the information indicative of the storage location for the encrypted message;
retrieve the encrypted message from the second data store using the information indicative of the storage location for the encrypted message;
decrypt, as a decrypted message, the message using an organization-specific decryption key; and
transmit, to the second client device of the second user, the decrypted message.

### Claim 2 (depends on 1)

The system of claim 1, wherein the organization-specific encryption key is the same as the organization-specific decryption key.

### Claim 3 (depends on 1)

The system of claim 1, wherein the organization-specific encryption key and the organization-specific decryption key form an asymmetric key pair.

### Claim 4 (depends on 1)

The system of claim 1, further comprising a key server located in the second geopolitical area storing the organization-specific encryption key and the organization-specific decryption key, and wherein the group-based communication system server is further programmed to:
retrieve, from the key server, the organization-specific encryption key responsive to receiving, from the first client device of the first user, the message to be posted to the group; and
retrieve, from the key server, the organization-specific decryption key responsive to receiving, from the second data store, the encrypted message.

### Claim 5 (depends on 4)

The system of claim 4, further comprising a key cache in the first geopolitical area programmed to cache keys received from the key server.

### Claim 6 (depends on 1)

The system of claim 1, wherein the second data store stores logging data for the organization.

### Claim 7 (depends on 1)

The system of claim 1, wherein the indication of the attempt to access the message comprises a selection by the second user of the group to view in the group-based communication system.

### Claim 8

A method for providing encryption key management for international data residency, the method comprising:
receiving, by a group-based communication system server and from a first client device of a first user associated with an organization, a message to be posted to a group of a group-based communication system,
wherein the group-based communication system server is located in a first geopolitical area;
encrypting, as an encrypted message, the message using an organization-specific encryption key;
determining, by the group-based communication system server and based on the organization, that data associated with the organization should be stored in a second geopolitical area that is distinct from the first geopolitical area,
responsive to determining that the data should be stored in the second geopolitical area, storing the encrypted message in a second data store located in the second geopolitical area;
storing information indicative of a storage location for the encrypted message in a first data store located in the first geopolitical area;
receiving, by the group-based communication system server and from a second client device of a second user associated with the organization, an indication of an attempt to access the message;
retrieving, by the group-based communication system server and from the first data store, the information indicative of the storage location for the encrypted message;
retrieving, by the group-based communication system server, the encrypted message from the second data store using the information indicative of the storage location for the encrypted message;
decrypting, by the group-based communication system server and as a decrypted message, the message using an organization-specific decryption key; and
transmitting, by the group-based communication system server and to the second client device of the second user, the decrypted message.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
receiving, from the first client device of the first user, the message to be posted to the group;
responsive to receiving the message to be posted to the group, retrieving, by the group-based communication system server and from a key server located in a third geopolitical area, the organization-specific encryption key;
receiving, from the second data store, the encrypted message; and
responsive to receiving the encrypted message from the second data store, retrieving, from the key server, the organization-specific decryption key.

### Claim 10 (depends on 9)

The method of claim 9, wherein the third geopolitical area is distinct from the first geopolitical area and the second geopolitical area.

### Claim 11 (depends on 9)

The method of claim 9, further comprising:
storing, by the group-based communication system server, the organization-specific encryption key in a key cache located in the first geopolitical area.

### Claim 12 (depends on 9)

The method of claim 9, wherein retrieving, from the key server, the organization-specific decryption key includes a substep of sending a request for the organization-specific decryption key to a look-through key cache in the first geopolitical area.

### Claim 13 (depends on 8)

The method of claim 8, wherein the organization-specific encryption key is the same as the organization-specific decryption key.

### Claim 14 (depends on 8)

The method of claim 8, further comprising logging the storing of the message to the second data store.

### Claim 15

One or more non-transitory computer-readable media storing computer-executable instructions that, when executed by one or more processors, cause the one or more processors to perform operations for providing encryption key management for international data residency, the operations comprising:
receiving, by a group-based communication system server and from a first client device of a first user associated with an organization, a message to be posted to a group of a group-based communication system,
wherein the group-based communication system server is located in a first geopolitical area;
encrypting, as an encrypted message, the message using an organization-specific encryption key;
responsive to determining, by the group-based communication system server and based on the organization, that data associated with the organization should be stored in a second geopolitical area distinct from the first geopolitical area, storing the encrypted message in a second data store located in the second geopolitical area;
storing information indicative of a storage location for the encrypted message in a first data store located in the first geopolitical area;
receiving, by the group-based communication system server and from a second client device of a second user associated with the organization, an indication of an attempt to access the message;
retrieving, by the group-based communication system server and from the first data store, the information indicative of the storage location for the encrypted message;
retrieving, by the group-based communication system server, the encrypted message from the second data store using the information indicative of the storage location for the encrypted message;
decrypting, as a decrypted message and by the group-based communication system server, the message using an organization-specific decryption key; and
transmitting, by the group-based communication system server and to the second client device of the second user, the decrypted message.

### Claim 16 (depends on 15)

The one or more non-transitory computer-readable media of claim 15, the operations further comprising:
receiving, from the first client device of the first user, the message to be posted to the group;
responsive to receiving the message to the posted to the group, retrieving, by the group-based communication system server and from a key server located in a third geopolitical area, the organization-specific encryption key;
receiving, from the second data store, the encrypted message;
responsive to receiving the encrypted message from the second data store, retrieving, from the key server, the organization-specific decryption key.

### Claim 17 (depends on 16)

The one or more non-transitory computer-readable media of claim 16, wherein the third geopolitical area is the same as the second geopolitical area.

### Claim 18 (depends on 16)

The one or more non-transitory computer-readable media of claim 16, the operations further comprising:
storing, by the group-based communication system server, the organization-specific encryption key in a key cache located in the first geopolitical area.

### Claim 19 (depends on 16)

The one or more non-transitory computer-readable media of claim 16, wherein the indication of the attempt to access the message comprises scrolling, by the second user, to view a conversation history of the group.

### Claim 20 (depends on 16)

The one or more non-transitory computer-readable media of claim 16, where transmitting, to the second client device of the second user, the decrypted message comprises transmitting, to the second client device of the second user, the decrypted message using transport-layer encryption.
