Skip to content

Commit

Permalink
feat: Adds certificate credentials to the apps as well
Browse files Browse the repository at this point in the history
  • Loading branch information
dploeger authored and mkoertgen committed Mar 26, 2024
1 parent 446cc04 commit 47a623c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/services/azure_app_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 47a623c

Please sign in to comment.