• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

maxlambrecht / rust-spiffe / 37048797123
94%

Build:
DEFAULT BRANCH: main
Ran 02 Oct 2026 06:47PM UTC
Jobs 1
Files 43
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

02 Oct 2026 06:38PM UTC coverage: 88.191% (+0.2%) from 87.942%
37048797123

push

github

maxlambrecht
feat(spiffe): add experimental SPIFFE Broker API bindings

Add an experimental `broker-api` feature with bindings for the SPIFFE
Broker API (spiffe/spiffe#340):

- the generated `spiffe.broker` client and messages, under
  `broker_api::pb::spiffe::broker`. The client has no plaintext
  `connect`, because the Broker Endpoint requires mTLS.
- `SecurityHeader`, an interceptor that adds the required
  `broker.spiffe.io: true` metadata. Like the Workload API interceptor,
  it runs an optional custom interceptor first, so that interceptor
  cannot remove or overwrite the header.
- `From` conversions that pack PID and Kubernetes object references
  into a `WorkloadReference` with the full type URL. The conversions
  cannot enforce the reference scope from Broker API §3.1.2, so their
  docs and the module docs state the rules that the caller must
  enforce.
- a `Debug` for the SVID messages that shows only the length of the
  private key or token, like `PrivateKey` and the JWT `Token`.

`cargo run -p xtask -- gen spiffe` also generates these bindings,
without tonic transport code. The Workload API and spire-api output
does not change. The README, CHANGELOG, crate summary and description,
and the Makefile feature and MSRV lanes cover the new feature.

The README, the module docs, and the CHANGELOG state the same
compatibility policy. While `spiffe` is pre-1.0, a breaking change to
`broker-api` requires a minor version bump, and patch releases stay
compatible.

Signed-off-by: Quang Nguyen <nguyenquang@microsoft.com>

144 of 149 new or added lines in 1 file covered. (96.64%)

7431 of 8426 relevant lines covered (88.19%)

701.61 hits per line

Uncovered Changes

Lines Coverage ∆ File
5
96.64
spiffe/src/broker_api/mod.rs
Jobs
ID Job ID Ran Files Coverage
1 37048797123.1 02 Oct 2026 06:47PM UTC 43
88.19
GitHub Action Run
Source Files on build 37048797123
  • Tree
  • List 43
  • Changed 1
  • Source Changed 0
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • Github Actions Build #37048797123
  • e1d7706d on github
  • Prev Build on main (#36895957740)
  • Next Build on main (#37322276142)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE TRIAL · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc