当呼叫包含订阅金钥时如何消除追踪(防止Ocp-Apim-Trace) [英] How to eliminate tracing (prevent Ocp-Apim-Trace) when the call includes a subscription key
问题描述
你好
这是对以下问题的跟进:
This is a follow up to the following question:
我的API使用者必须具有订阅密钥才能使用我的API.
My API consumers must have a subscription key to be able to use my API.
但是,我不希望他们看到ocp-apim-trace-location中提供的详细跟踪.详细信息跟踪使他们可以查看我的内部服务URL以及可能存在潜在安全风险的详细信息.
However, I do not want them to see the detail traces provided in ocp-apim-trace-location. The detail trace provides them visibility to my internal service URLs and details that can be a potential security risk.
调用时如何消除跟踪(防止Ocp-Apim-Trace)包括订阅密钥?
谢谢,
推荐答案
Hello amx2012,
I just see that you have raised the same issue on stackoverflow which is answered there however I wanted to check with you if you have any followup questions regarding this issue.
这篇关于当呼叫包含订阅金钥时如何消除追踪(防止Ocp-Apim-Trace)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!