diff --git a/prowler/providers/aws/aws_provider.py b/prowler/providers/aws/aws_provider.py index 915168a4bf3..2337945ffa2 100644 --- a/prowler/providers/aws/aws_provider.py +++ b/prowler/providers/aws/aws_provider.py @@ -125,8 +125,7 @@ def refresh_credentials(self): token=response["Credentials"]["SessionToken"], expiry_time=response["Credentials"]["Expiration"].isoformat(), ) - logger.info("Refreshed Credentials:") - logger.info(refreshed_credentials) + logger.info("Refreshed Credentials") return refreshed_credentials