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 28, 2024
1 parent 16441aa commit 4a25388
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 4a25388

Please sign in to comment.