decoder.tools

SPIFFE Certificate Decoder

Extract SPIFFE IDs and SVID details from workload identity certificates.

on the roadmapSecurity, PKI & Cryptofree · no sign-up

This bench is being wired up

The spiffe-decoder decoder is on the roadmap. The heavier binary and cryptographic parsers ship after the core text and token decoders — all of which are already live and working.

Browse the live decoders

Input is processed on your device. Nothing you paste is sent anywhere.

What is the SPIFFE Certificate Decoder?

A SPIFFE decoder reads an X.509-SVID certificate and extracts the SPIFFE ID from its URI Subject Alternative Name, showing the trust domain and workload path that identify a service in a zero-trust mesh.

SPIFFE (Secure Production Identity Framework For Everyone) gives every workload a cryptographic identity instead of a shared secret. That identity is a URI of the form spiffe://trust-domain/path, and in an X.509-SVID it lives in the URI Subject Alternative Name — not in the Common Name, which SPIFFE deliberately leaves unconstrained.

The other distinctive property of an SVID is its lifetime. Where a web certificate lasts months, an SVID typically lasts minutes to hours, rotated automatically by SPIRE or by a service mesh like Istio. When mTLS between two services starts failing, the answer is usually visible in the SVID: the wrong trust domain, an unexpected workload path, or a certificate that outlived its rotation window.

SPIFFE Certificate Decoder at a glance

ID format
spiffe://trust-domain/workload/path
Carried in
URI Subject Alternative Name of an X.509-SVID
Typical lifetime
Minutes to hours, auto-rotated
Ecosystem
SPIRE, Istio, Linkerd, Envoy, Kubernetes

How to use the SPIFFE Certificate Decoder

  1. 1Paste the workload certificate (PEM) issued by SPIRE or your mesh.
  2. 2Read the SPIFFE ID from the URI SAN, split into trust domain and path.
  3. 3Check the validity window against your configured rotation interval.

When you would reach for it

  • Debugging mTLS authorization failures between meshed services.
  • Confirming a workload received the identity its registration entry defines.
  • Auditing which trust domain a cluster's certificates actually belong to.

SPIFFE Certificate Decoder — frequently asked questions

Last reviewed · questions or corrections: contact@decoder.tools