Skip to content

Commit

Permalink
Do not retrieve credentials from credential_process when set to empty…
Browse files Browse the repository at this point in the history
… string

Fixes #3098.
  • Loading branch information
rdctmeconomou committed Feb 3, 2024
1 parent c0b6335 commit 382da17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion botocore/credentials.py
Original file line number Diff line number Diff line change
Expand Up @@ -994,7 +994,7 @@ def __init__(self, profile_name, load_config, popen=subprocess.Popen):

def load(self):
credential_process = self._credential_process
if credential_process is None:
if not credential_process:
return

creds_dict = self._retrieve_credentials_using(credential_process)
Expand Down

0 comments on commit 382da17

Please sign in to comment.