Relates to
#1845
What is this?
EG can leverage RBAC for implementing fine-grained access control, at both the Gateway and xRoute level.
The principal, obtained through the authentication process (such as OIDC, JWT, etc.), serves as the basis for defining access control policies. Source IP-based access control can also be supported in this model.
The below is roughly how API will look like, but it's just an initial idea and definitely needs more input.
API outline
kind: SecurityPolicy
metadata:
name: rbac-example
spec:
targetRef:
group: gateway.networking.k8s.io
kind: HTTPRoute
name: http-route
jwt: # a jwt or oidc configuration is needed to obtain the principal
......
authorization:
- principals: ["john"]
permissions:
methods: ["GET", "POST"]
paths: ["/foo", "/bar"]
Reference:envoyproxy/envoy#7913
Relates to
#1845
What is this?
EG can leverage RBAC for implementing fine-grained access control, at both the
GatewayandxRoutelevel.The principal, obtained through the authentication process (such as OIDC, JWT, etc.), serves as the basis for defining access control policies. Source IP-based access control can also be supported in this model.
The below is roughly how API will look like, but it's just an initial idea and definitely needs more input.
API outline
Reference:envoyproxy/envoy#7913