Skip to content

Commit 4a29079

Browse files
committed
Add logs
1 parent b341503 commit 4a29079

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

code/function/fastapp/health/validate_request.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ async def verify_health_auth_header(
1919
RETURNS (bool): Specifies whether the header matches.
2020
"""
2121
logger.info(f"Header value: '{x_ms_auth_internal_token}'")
22+
logger.info(f"Encryption key: '{settings.WEBSITE_AUTH_ENCRYPTION_KEY}'")
2223
website_auth_encryption_key = settings.WEBSITE_AUTH_ENCRYPTION_KEY
2324
hash = base64.b64encode(
2425
sha256(website_auth_encryption_key.encode("utf-8")).digest()

0 commit comments

Comments
 (0)