Skip to content

Commit

Permalink
fix bump in config redaction
Browse files Browse the repository at this point in the history
  • Loading branch information
sfowl committed Oct 29, 2024
1 parent ee14d55 commit 5d12dc3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions rapidast.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ def dump_redacted_config(config_file_location: str, destination_dir: str) -> boo

logging.info(f"Redacting sensitive information from configuration {config_file_location}")
for key in config.keys():
if not isinstance(config[key], dict):
continue
if config[key].get("authentication") and config[key]["authentication"].get("parameters"):
for param in config[key]["authentication"]["parameters"]:
config[key]["authentication"]["parameters"][param] = "*****"
Expand Down

0 comments on commit 5d12dc3

Please sign in to comment.