Installing the AWS Encryption SDK for C - AWS Encryption SDK

Installing the AWS Encryption SDK for C

Install the latest version of the AWS Encryption SDK for C.

Note

All versions of the AWS Encryption SDK for C earlier than 2.0.0 are in the end-of-support phase.

You can safely update from version 2.0.x and later to the latest version of the AWS Encryption SDK for C without any code or data changes. However, new security features introduced in version 2.0.x are not backward-compatible. To update from versions earlier than 1.7.x to version 2.0.x and later, you must first update to the latest 1.x version of the AWS Encryption SDK for C. For details, see Migrating your AWS Encryption SDK.

You can find detailed instructions for installing and building the AWS Encryption SDK for C in the README file of the aws-encryption-sdk-c repository. It includes instructions for building on Amazon Linux, Ubuntu, macOS, and Windows platforms.

Before you begin, decide whether you want to use AWS KMS keyrings in the AWS Encryption SDK. If you use an AWS KMS keyring, you need to install the AWS SDK for C++. The AWS SDK is required to interact with AWS Key Management Service (AWS KMS). When you use AWS KMS keyrings, the AWS Encryption SDK uses AWS KMS to generate and protect the encryption keys that protect your data.

You do not need to install the AWS SDK for C++ if you are using another keyring type, such as a raw AES keyring, a raw RSA keyring, or a multi-keyring that doesn't include an AWS KMS keyring. However, when using a raw keyring type, you need to generate and protect your own raw wrapping keys.

For help deciding which keyring types to use, see Choosing a keyring.

If you're having trouble with your installation, file an issue in the aws-encryption-sdk-c repository or use any of the feedback links on this page.