We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 251ac26 commit ac6a44eCopy full SHA for ac6a44e
code/function/fastapp/health/validate_request.py
@@ -10,6 +10,7 @@ async def verify_health_auth_header(
10
x_ms_auth_internal_token: Annotated[str, Header()]
11
) -> bool:
12
"""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
14
15
x_ms_auth_internal_token: Value of the x-ms-auth-internal-token header.
16
RETURNS (bool): Specifies whether the header matches.
0 commit comments