Skip to content

Commit ac6a44e

Browse files
committed
Add docs
1 parent 251ac26 commit ac6a44e

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
@@ -10,6 +10,7 @@ async def verify_health_auth_header(
1010
x_ms_auth_internal_token: Annotated[str, Header()]
1111
) -> bool:
1212
"""Returns true if SHA256 of header_value matches WEBSITE_AUTH_ENCRYPTION_KEY.
13+
Documentation: https://learn.microsoft.com/en-us/azure/app-service/monitor-instances-health-check?tabs=python#authentication-and-security
1314
1415
x_ms_auth_internal_token: Value of the x-ms-auth-internal-token header.
1516
RETURNS (bool): Specifies whether the header matches.

0 commit comments

Comments
 (0)