Secure local communication between proxy and gateway.
In appsettings.json:
{ "Kestrel": { "Endpoints": { "NamedPipe": { "Url": "http://pipe:DataGatewayApi" } } } }
The Named Pipe must be accessible to the proxy service:
# Set ACL for Named Pipe (in Gateway code) # Only SYSTEM and Proxy Service Account
{ "Target": { "Type": "NamedPipe", "PipeName": "DataGatewayApi", "ConnectionTimeout": 5000, "ReadTimeout": 30000 } }
# Check pipe status Get-ChildItem \\.\pipe\ | Where-Object { $_.Name -like "*DataGateway*" }