The driver supports AWS IAM and AWS Secrets Manager authentication by using AWS SDK for C++. The driver requires aws-cpp-sdk-core
, aws-cpp-sdk-rds
, and aws-cpp-sdk-secretsmanager
. You can either build the SDK yourself directly from the source using the script under scripts
folder or download the libraries using a package manager. The script will install the SDK under aws_sdk/install
folder. The driver will look for SDK dependencies through aws_sdk/install
folder and CMAKE_PREFIX_PATH
environment variable.
Note
On Windows, depending on the use case, you may build the SDK as a static library or dynamic library. On Linux and macOS, you should always build the SDK as a dynamic library.
.\scripts\build_aws_sdk_win.ps1 x64 Release ON "Visual Studio 17 2022"
.\scripts\build_aws_sdk_win.ps1 x64 Debug ON "Visual Studio 17 2022"
./scripts/build_aws_sdk_unix.sh Release
See https://docs.aws.amazon.com/sdk-for-cpp/v1/developer-guide/troubleshooting-cmake.html