ElevenID
ElevenID LLC
All Posts
Technical
4 min read
W3C VC
core-objectcredential-template

Credential Templates: Designing What Gets Issued

Credential Templates define credential type, compliance profile, claims, validity, issuer configuration, and disclosure posture without absorbing application intake or verifier policy.

Daniel Ortega | Protocol Architect - Identity Protocol DesignJanuary 29, 2025 | Updated July 13, 2026 | 4 min read | Technical
OID4VCI Issuance
OID4VP Presentation
Protocol Architecture
Interoperability Design
Part of the Marty Identity Protocol
Series

The Five Primitives

Primitive

Credential Templates

Layer

Issuance

Topic

Core Protocol

Difficulty
Intermediate

Issuing a credential is not just about signing data. The signature demonstrates integrity and issuer control, but it does not tell the ecosystem what the credential is meant to represent. A credential becomes useful only when its structure, claims, constraints, disclosure behavior, and issuance rules are defined before issuance.

Credential Templates answer one recurring protocol question: what exactly gets issued? Without that object, teams end up rebuilding the same decisions in controllers, form definitions, schema validators, wallet mappings, and verifier documentation. The credential may be signed, but the system around it remains informal.

The Marty Identity Protocol (MIP) turns credential shape into structured configuration. A template is not merely a JSON schema. It is the governed definition of a credential type inside the identity system.

Anatomy of a Credential Template

Every Credential Template starts with a credential type, a referenced Compliance Profile, a claims list, and validity rules. The type tells the ecosystem what kind of object is being issued: an employee badge, a mobile credential, an education badge, pre-boarding clearance, a membership credential, or another program-specific artifact. The claims list defines each field's name, data type, requirement status, and selective-disclosure posture.

The template can identify a claim as derived from another claim, but it does not own the entire intake and evidence workflow. Application Templates define how form data and evidence are gathered and mapped into an issuance request. Keeping intake rules separate from the Credential Template lets the same credential contract support more than one approved application journey.

Validity rules belong in the template as well. A credential may have a time-to-live, reissue window, expiration rule, or program-specific lifecycle expectation. These rules matter because verifiers should not have to infer validity from scattered business logic. The credential should carry a shape that reflects the program's operating assumptions.

Issuer binding is just as important. A Credential Template can reference its Trust Profile, signing key or algorithm, certificate chain, issuer DID, and remote-signing configuration. The broader decision about which issuers are allowed or denied belongs in Trust Profiles and issuer-registry relationships. The template connects credential shape to an issuer identity without duplicating the ecosystem's authorization model.

Selective Disclosure by Default

MIP treats selective disclosure as a first-class concern, not a bolt-on feature. Credential Template claims can be marked selectively disclosable, and the template carries an overall privacy posture. Predicate requirements, supported proof circuits, and fallback behavior belong in the Presentation Policy, while the credential format and wallet determine whether that proof can actually be produced.

That decision has to happen early. If a credential is issued in a format that cannot support selective disclosure for the relevant claims, a later Presentation Policy cannot magically repair the privacy model. The verifier may ask for less, but the credential may not be able to prove less. That is why disclosure capability belongs in the template.

The template also helps wallets and verifiers reason about what presentations are possible. A wallet can understand which claims may be revealed. A verifier can understand whether its policy is compatible with the credential type. A governance team can review whether the credential is collecting or exposing more information than the program requires.

Templates Reduce Integration Drift

In many identity systems, the same credential definition is duplicated in several places. The issuer has one schema. The wallet has a display model. The verifier has a validation shape. Documentation has another version. Over time, those copies drift. A field gets renamed in one place. A validity rule changes in another. A verifier silently assumes a claim that the issuer no longer guarantees.

A Credential Template gives the ecosystem a single, governed object to inspect and version. Implementations can still generate typed models, issuer configuration, wallet display hints, and validation logic from it, while Application Templates own the forms and evidence workflow. The source of truth for the issued credential remains the template rather than a set of handwritten assumptions.

That does not mean every downstream representation becomes identical. Wallets still need user-facing labels, issuers still need intake forms, and verifiers still need runtime validators. The template gives those surfaces a shared contract so they can diverge intentionally for their role instead of drifting accidentally because each team copied the credential model by hand.

This is why Credential Templates sit immediately after Trust Profiles in the Marty model. Trust Profiles answer who is trusted. Credential Templates answer what those trusted issuers are allowed to create. Presentation Policies then answer what a verifier is allowed to ask from that credential.

If you want to see how the template becomes a privacy boundary at presentation time, read Presentation Policies and the Art of Minimum Disclosure next.

This article was produced by an AI research persona and reviewed by the ElevenID editorial team. All technical claims are validated against protocol specifications and reference implementations.
Daniel Ortega

Protocol Architect - Identity Protocol Design

Daniel studies the design of identity protocols and how systems exchange verifiable claims between issuers, holders, and verifiers. His work explains the underlying mechanics of decentralized identity protocols.

OID4VCI Issuance
OID4VP Presentation
Protocol Architecture
Interoperability Design
Protocol Flows
AI research persona representing curated protocol analysis.
Start issuing

From templates to live credentials - the issuance API handles formatting, signing, and delivery.