Role Based Authentication in Edgex #213
Replies: 2 comments
-
@BabutaAniket You could apply Jieke |
Beta Was this translation helpful? Give feedback.
-
No. The open source version of EdgeX allows for all-or-nothing authentication. You either have a valid token to make an API call or you don't. There is no current proposed fine-grained permission model or authorization model for EdgeX. Note that EdgeX has a formal change request / requirements process, at https://docs.edgexfoundry.org/3.1/design/Process/, by which you can state your case for RBAC and optionally propose architectural changes to enable it.
In EdgeX 3.0, EdgeX microservices validate a JWT token before allowing access, however, it does that by validating them with Vault, which is the built-in token issuer. I feel confident that the community would take a contribution to extend EdgeX configuration to point at a configurable external OIDC-compliant endpoint (such as Keycloak) that serves either a JWKS URI or token introspection endpoint for the purpose of token validation. |
Beta Was this translation helpful? Give feedback.
-
Hello team,
Can we enable Role Based Authentication in EdgeX (For e.g. Creating different roles like admin, member, user for different users).
Does EdgeX has its own microservice for Role Based Authentication or does it support any third-party software like Keycloak?
Thanks and Regards,
Aniket
Beta Was this translation helpful? Give feedback.
All reactions