Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add a profile field to the authz.Rotate RPC. #200

Merged
merged 5 commits into from
Jul 25, 2024
Merged

Conversation

robshakir
Copy link
Contributor

 * (M) authz/authz.proto
  - Where a gNSI server supporting the authz service is running on
    a target that supports multiple downstream gRPC services, it is
    currently required that the same authz policy is applied to all
    of them. Particularly, if the downstream gRPC servers MAY expose
    the same service, it is not possible to have different policies
    for each server. This PR adds a `profile` field that allows
    such endpoints to be disambiguated, similarly to the `profile`
    that is provided by certz.

We have a use case where a target exposes a single gNSI server instance for a
set of downstream binaries (in this case, containers running on a device). In
such cases, it is desirable that we can expose common services per container for
common operations, but would like to have distinct authz policies for each.
The profile field allows each container to have its own authz profile that is
mapped to by the gNSI.Authz server.

 * (M) authz/authz.proto
  - Where a gNSI server supporting the authz service is running on
    a target that supports multiple downstream gRPC services, it is
    currently required that the same authz policy is applied to all
    of them. Particularly, if the downstream gRPC servers MAY expose
    the same service, it is not possible to have different policies
    for each server. This PR adds a `profile` field that allows
    such endpoints to be disambiguated, similarly to the `profile`
    that is provided by certz.
authz/authz.proto Outdated Show resolved Hide resolved
@marcushines marcushines self-requested a review July 25, 2024 06:24
@marcushines marcushines merged commit cb03eb0 into main Jul 25, 2024
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants