Cloud Security
What is Data Encryption?
What is Data Encryption?
Data encryption is a method used to encode information in such a way that no person other than the authorized one is able to decode and use that information. Through the process of data encryption, the information becomes protected from any unauthorized use, manipulation, loss, or destruction, whether the data is stored on servers, being transmitted via networks, or being actively processed.
One standard for it is NIST’s Advanced Encryption Standard (AES), published as FIPS 197 in November 2001.
What Types of Encryption Are Used for Data at Rest and in Transit?
- Encryption at Rest: The algorithm used for data at rest is AES-256. With this type of encryption, even when the hard drive containing the data is stolen, there will be no way to access it without the key to decrypt it.
- Encryption in Transit: In order to keep the data secure during its transit, encryption technologies like Transport Layer Security (TLS) can be employed to create a safe connection between your computer and the cloud service provider.
How Is Data Secured at Rest, in Use, and in Transit?
In cloud security, data is secured in each of its three states:
- At Rest: Data at rest, meaning stored data, is protected through the use of strong encryption algorithms, such as AES under NIST’s FIPS 197 (NIST), or stored in secure locations and sometimes may have other security measures such as access control and logging.
- In Transit: Transit data protection is maintained by a TLS/SSL layer that encrypts the information exchanged between your device and the cloud service. TLS 1.3, now specified by the IETF in RFC 9846 (July 2026), is formulated to avoid eavesdropping, tampering, and forgery of messages (IETF).
- In Use: Data in use is one of the relatively newer areas of interest. Various technologies such as homomorphic encryption and secure enclaves are being invented that perform computations on encrypted data while not revealing the data itself.
Who Manages Encryption Keys, and How Are They Rotated?
Key management is an essential component of encryption. In SaaS environments, the responsibility for key management can be distributed in different ways.
Some providers let you use customer-managed keys, and you are solely responsible for managing the keys used to encrypt your data. Some implement provider-managed keys in which the provider is responsible for the generation, storage, and management of keys.
To minimize the risk of compromise, it is critical to change keys on a regular basis. In AWS KMS, AWS-managed keys rotate annually, while automatic rotation is optional for customer-managed keys (AWS). The consumer can be restricted to options for data recovery if the provider manages the keys.
| Aspect | Customer-Managed Keys | Provider-Managed Keys |
|
Key Responsibility |
||
| Key Creation | Key is created by the customer | Key creation is done by the provider |
| Key Storage | Key is stored securely by the customer | Provider handles storage of the key |
|
Security Issues |
||
| Level of Control | Customer has full control | Limited customer visibility |
| Data Recovery Options | Depends on the customer keeping the key | Could be limited by provider |
|
Key Rotation |
||
| Rotation Frequency | Defined by customer | Defined by provider |
| Rotation Complexity | Manual or scheduled by the customer | Typically automated |
What Happens to Encrypted Data if the SaaS Provider Goes Out of Business or Is Acquired?
In case the SaaS vendor shuts down or gets acquired, access to your encrypted data would be dependent on your legal agreement with the SaaS vendor and the holder of the key. It should set out a clear plan for how the data will be retrieved and erased in the event of the provider’s closure or acquisition.
If you use the customer-managed key, you should be able to retrieve your encrypted data and then decrypt it with your own key.
Conclusion
Data encryption is the foundation of cloud security. It is crucial to understand its different forms as well as the best practices to prevent the loss of valuable information and apply measures that protect its confidentiality, integrity, and availability in the SaaS environment.