Skip to content

feat(fleet): WhoAmI RPC returning the verified operator identity#44

Merged
Bugs5382 merged 1 commit into
mainfrom
feat/43-fleet-whoami
Jul 14, 2026
Merged

feat(fleet): WhoAmI RPC returning the verified operator identity#44
Bugs5382 merged 1 commit into
mainfrom
feat/43-fleet-whoami

Conversation

@Bugs5382

Copy link
Copy Markdown
Contributor

What and why

Adds FleetService.WhoAmI + an OperatorIdentity message so the Fleet Manager can echo the operator identity it verified from the presented mTLS client certificate (subject CN, cert serial, access level). The browser cannot read its own installed client cert, so the manager needs an endpoint that returns the verified identity/level for role-aware UI (Slice A).

Regenerated Go + TS via buf; only the proto and generated files changed.

Closes #43

Verification

  • buf generate produces Go + TS with no unexpected drift (only proto + go/ + gen/ts/)
  • go build ./... clean
  • WhoAmI wired through the generated gRPC + Connect handler/client interfaces

How this was verified

Inspected the proto diff (RPC added last in FleetService; WhoAmIRequest/OperatorIdentity/WhoAmIResponse appended, no field renumbering) and confirmed WhoAmI appears in the generated fleetv1connect.FleetServiceHandler interface and client. Merge order: this lands first; the manager then bumps to consume it.

@Bugs5382 Bugs5382 self-assigned this Jul 14, 2026
@github-actions github-actions Bot added the enhancement New feature (feat). Minor version bump. label Jul 14, 2026
@Bugs5382
Bugs5382 merged commit 86221c2 into main Jul 14, 2026
12 checks passed
@Bugs5382
Bugs5382 deleted the feat/43-fleet-whoami branch July 14, 2026 12:13
@Bugs5382 Bugs5382 added this to the v1.0.0 milestone Jul 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature (feat). Minor version bump.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(fleet): WhoAmI RPC returning the verified operator identity

1 participant