Skip to content

Commit 0298acd

Browse files
committed
Add an env var to allow intercepting the AWS CLI
1 parent 12102a9 commit 0298acd

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/interceptors/terminal/terminal-env-overrides.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,8 @@ export function getTerminalEnvVars(
104104
'CARGO_HTTP_CAINFO': httpsConfig.certPath,
105105
// Trust cert in CURL (only required when not using OpenSSL) and Python Requests:
106106
'CURL_CA_BUNDLE': httpsConfig.certPath,
107+
// Trust our CA in the AWS CLI:
108+
'AWS_CA_BUNDLE': httpsConfig.certPath,
107109

108110
// Flag used by subprocesses to check they're running in an intercepted env
109111
'HTTP_TOOLKIT_ACTIVE': 'true',

0 commit comments

Comments
 (0)