当呼叫包含订阅金钥时如何消除追踪(防止Ocp-Apim-Trace) [英] How to eliminate tracing (prevent Ocp-Apim-Trace) when the call includes a subscription key

查看:105
本文介绍了当呼叫包含订阅金钥时如何消除追踪(防止Ocp-Apim-Trace)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好

这是对以下问题的跟进:

This is a follow up to the following question:

https ://stackoverflow.com/questions/53288127/how-to-prevent-ocp-apim-trace-true-and-ocp-apim-trace-location-in-production

我的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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆