From d37cf28e101e9c013919e32860ef0cc938a4d881 Mon Sep 17 00:00:00 2001 From: Joshua Weber <57131123+daschaa@users.noreply.github.com> Date: Thu, 13 Mar 2025 11:02:39 +0100 Subject: [PATCH] Ignores caching for AWS credentials provider (#4000) --- packages/bruno-cli/src/runner/awsv4auth-helper.js | 3 ++- packages/bruno-electron/src/ipc/network/awsv4auth-helper.js | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/packages/bruno-cli/src/runner/awsv4auth-helper.js b/packages/bruno-cli/src/runner/awsv4auth-helper.js index 4a2ff5aa2..8714ae39c 100644 --- a/packages/bruno-cli/src/runner/awsv4auth-helper.js +++ b/packages/bruno-cli/src/runner/awsv4auth-helper.js @@ -10,7 +10,8 @@ async function resolveAwsV4Credentials(request) { if (isStrPresent(awsv4.profileName)) { try { credentialsProvider = fromIni({ - profile: awsv4.profileName + profile: awsv4.profileName, + ignoreCache: true }); credentials = await credentialsProvider(); awsv4.accessKeyId = credentials.accessKeyId; diff --git a/packages/bruno-electron/src/ipc/network/awsv4auth-helper.js b/packages/bruno-electron/src/ipc/network/awsv4auth-helper.js index 4a2ff5aa2..8714ae39c 100644 --- a/packages/bruno-electron/src/ipc/network/awsv4auth-helper.js +++ b/packages/bruno-electron/src/ipc/network/awsv4auth-helper.js @@ -10,7 +10,8 @@ async function resolveAwsV4Credentials(request) { if (isStrPresent(awsv4.profileName)) { try { credentialsProvider = fromIni({ - profile: awsv4.profileName + profile: awsv4.profileName, + ignoreCache: true }); credentials = await credentialsProvider(); awsv4.accessKeyId = credentials.accessKeyId;