Commit 275eb584 by Oleksandr Barabash

secret value extracted

parent d680f9a3
...@@ -161,7 +161,7 @@ async def v1_health_check(_request: Request) -> Response: ...@@ -161,7 +161,7 @@ async def v1_health_check(_request: Request) -> Response:
container = None container = None
try: try:
container = await COSMOS_CLIENT.get_conversations_container() container = await COSMOS_CLIENT.get_conversations_container()
data = await KEY_VAULT_CLIENT.get_secret("adminLogin") data = await KEY_VAULT_CLIENT.get_secret("adminLogin").value
return Response(body=json.dumps(dict(data=data)), return Response(body=json.dumps(dict(data=data)),
status=HTTPStatus.OK, status=HTTPStatus.OK,
content_type="application/json") content_type="application/json")
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment