Skip to content
Calcrivo

Federation Trust Calculator

Compare full-mesh federation against a hub broker: trusts to maintain, certificate rotations and metadata refresh load.

Inputs

IdPs
SPs
months
hours

Trusts to Maintain

76

Trusts in a Direct Mesh

240

Trusts Through a Hub

76

Peer Pairs if Every Party Trusted Every Other

1,406

Trusts Avoided by the Hub

164

Reduction vs Direct Mesh

68.3%

Certificate Rotations per Year

76.0

Metadata Fetches per Day

76

Step by step

  1. Values used

    Identity providers = 8 IdPs; Service providers or relying parties = 30 SPs; Route through a federation hub or broker = Yes; Signing certificate lifetime = 12 months; Metadata refresh interval = 24 hours

  2. Federation Trust

    A full mesh between N parties needs N × (N − 1) directed trusts, while a hub needs only 2N — one inbound and one outbound per party.

  3. Certificate rotation workload

    certificate rotations per year = trusts × 12 ÷ signing certificate lifetime in months.

  4. Trusts to Maintain

    = 76

  5. Trusts in a Direct Mesh

    = 240

  6. Trusts Through a Hub

    = 76

  7. Peer Pairs if Every Party Trusted Every Other

    = 1,406

  8. Trusts Avoided by the Hub

    = 164

  9. Reduction vs Direct Mesh

    = 68.3

How it works

In a direct federation each identity provider must be configured at each service provider, so the work is the product of the two. A broker turns that product into a sum: every party trusts the hub only, and the hub handles the translation between protocols and claim formats. Trust count is really a maintenance count — every trust carries a certificate that expires and metadata that drifts, and an unrotated certificate takes the login down at a moment nobody chose.

Formulas

Federation Trust

A full mesh between N parties needs N × (N − 1) directed trusts, while a hub needs only 2N — one inbound and one outbound per party.

N
Total federation participants — identity providers plus service providers
N × (N − 1)
Directed trust relationships in a full mesh
2N
Trusts when everything terminates on a broker

Certificate rotation workload

certificate rotations per year = trusts × 12 ÷ signing certificate lifetime in months.

signing certificate
Each trust pins the peer's signing certificate and must be updated before it expires

Frequently Asked Questions

How is Federation Trust calculated?

A full mesh between N parties needs N × (N − 1) directed trusts, while a hub needs only 2N — one inbound and one outbound per party. In a direct federation each identity provider must be configured at each service provider, so the work is the product of the two. A broker turns that product into a sum: every party trusts the hub only, and the hub handles the translation between protocols and claim formats.

Why does Federation Trust matter?

Trust count is really a maintenance count — every trust carries a certificate that expires and metadata that drifts, and an unrotated certificate takes the login down at a moment nobody chose.

What values do I need to enter?

This calculator takes 5 inputs: Identity providers, Service providers or relying parties, Route through a federation hub or broker, Signing certificate lifetime, Metadata refresh interval. The pre-filled defaults are a realistic starting point — replace them with figures from your own environment for a result you can act on.

When is a federation hub worth the extra hop?

Once the product of identity providers and service providers exceeds roughly the number you would willingly renew certificates for by hand — in practice a few dozen. A hub also normalises protocols, so SAML-only applications can consume OIDC identity providers without each side being upgraded.

What is the downside of a hub?

It is a single point of failure and a single point of compromise: everything authenticates through it, so it needs the availability and hardening of a tier-zero system. It also flattens the audit trail, since service providers see the hub as the issuer rather than the original identity provider unless claims are passed through.

You might also need