[ISS-1258][DC] handling different types of json files

This commit is contained in:
DanielConnelly 2026-06-02 15:31:41 +01:00
parent aa1eaf5274
commit 00200616be
No known key found for this signature in database

View file

@ -63,6 +63,9 @@ def get_aws_secrets_from_json(json_credentials_file: str) -> set[str]:
):
if var in data.get('Credentials', {}):
keys.add(data['Credentials'][var])
if var in data.get('accessToken', {}):
keys.add(data['accessToken'][var])
return keys