[英]Azure kubernetes - How do I use Azure API management to authenticate kubernetes APIs?
I have deployed an application on Azure kubernetes without authentication and I have the Azure API management in front of the API.我在没有身份验证的情况下在 Azure kubernetes 上部署了一个应用程序,并且在 API 前面有 Azure API 管理。
How do I use the Azure API management to authenticate kubernetes APIs?如何使用 Azure API 管理对 kubernetes API 进行身份验证?
<validate-jwt header-name="Authorization" failed-validation-httpcode="401" failed-validation-error-message="Unauthorized. Access token is missing or invalid.">
<openid-config url="https://login.microsoftonline.com/contoso.onmicrosoft.com/.well-known/openid-configuration" />
<audiences>
<audience>25eef6e4-c905-4a07-8eb4-0d08d5df8b3f</audience>
</audiences>
<required-claims>
<claim name="id" match="all">
<value>insert claim here</value>
</claim>
</required-claims>
</validate-jwt>
How are you authenticating your APIM url?您如何验证您的 APIM 网址?
Here is a raw way of achieving authentication这是实现身份验证的原始方法
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.