From 47a623c0ad54e99aae3343f3e986ee2511031e4d Mon Sep 17 00:00:00 2001 From: Dennis Ploeger Date: Tue, 19 Mar 2024 09:39:15 +0100 Subject: [PATCH] feat: Adds certificate credentials to the apps as well --- src/services/azure_app_service.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/services/azure_app_service.py b/src/services/azure_app_service.py index 6885b69..037356f 100644 --- a/src/services/azure_app_service.py +++ b/src/services/azure_app_service.py @@ -45,7 +45,7 @@ def get_by(self, app_id: str) -> AppRegistration: def _map_app(dct: Dict) -> AppRegistration: app_id = dct['appId'] name = dct['displayName'] - creds = [AzureAppService._map_cred(c) for c in dct['passwordCredentials']] + creds = [AzureAppService._map_cred(c) for c in dct['passwordCredentials']+dct['keyCredentials']] return AppRegistration(id=app_id, name=name, credentials=creds) @staticmethod