ca_bundle - AWS SDKs and Tools Shared Configuration and Credentials


Specifies the path to a custom certificate bundle (a file with a .pem extension) to use when establishing SSL/TLS connections.


The AWS SDKs and tools that support this setting include a CA bundle that they will use by default. But you can set this value to use a different CA bundle.

Ways to set this value

Location Supported Example
config file X
ca_bundle = dev/apps/ca-certs/cabundle-2019mar05.pem
credentials file -
Environment variable X Linux/macOS
export AWS_CA_BUNDLE /dev/apps/ca-certs/cabundle-2019mar05.pem
setx AWS_CA_BUNDLE C:\dev\apps\ca-certs\cabundle-2019mar05.pem
CLI parameter X
--ca-bundle /dev/apps/ca-certs/cabundle-2019mar05.pem

Compatibility with AWS SDKS and tools