Skip to content

Commit 4a25388

Browse files
committed
Do not retrieve credentials from credential_process when set to empty string
Fixes #3098.
1 parent 16441aa commit 4a25388

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

botocore/credentials.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -994,7 +994,7 @@ def __init__(self, profile_name, load_config, popen=subprocess.Popen):
994994

995995
def load(self):
996996
credential_process = self._credential_process
997-
if credential_process is None:
997+
if not credential_process:
998998
return
999999

10001000
creds_dict = self._retrieve_credentials_using(credential_process)

0 commit comments

Comments
 (0)