[RFC]Add fundamental building blocks for zero-trust (certificate manager, authentication) as part of traffic governance module | 流量治理-零信任模块基础骨架设计与实现 #3166
Labels
area/traffic-governance
Issues or PRs related to traffic governance
kind/feature
Category issues or prs related to feature request.
Issue
Description
With the development of cloud-native technologies, network boundaries are gradually disappearing, and the concept of zero trust therefore prevails. The most important functions of zero trust are certificate management and request authentication. As a generic, cloud-native traffic governance component, Sentinel 2.0 will support zero-trust capabilities for certificate management and request authentication:
Obtain the certificate from the external data source and use it to configure https when the web service is enabled.
Obtains authentication rules from the external data source and permits or blocks each request based on the authentication rules.
Describe your initial design (if present)
随着云原生技术的发展,网络边界逐渐消失,零信任概念盛行。零信任最重要的功能是证书管理和请求身份验证。作为一个通用的云原生流量治理组件,Sentinel 2.0将支持证书管理和请求认证的零信任功能:
— 从外部数据源获取证书,在启用web服务时用于配置https。
— 从外部数据源获取认证规则,并根据认证规则允许或阻止每个请求。
描述你的初始设计(如果有的话)
- (1)如果有JWT规则匹配,则匹配成功。如果匹配结果被拒绝,则请求被拒绝。
- (2)如果存在DENY策略匹配,则拒绝该请求。
- (3)如果工作负载没有允许策略,允许请求。
- (4)允许任何允许策略,如果它符合请求。
- 向istio发送带有k8s令牌的CSR以获取证书。
- 通过批量订阅istio的xds获取认证规则。
3.adapter模块:在已有的应用框架适配模块中增加证书和认证规则,支持微服务零信任。
The text was updated successfully, but these errors were encountered: