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 Jan 23, 2024
1 parent c9b639a commit da4aa9b
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 da4aa9b

Please sign in to comment.