Attestation Object
An attestation object is a signed data structure created by an authenticator (such as a security key or a device's built-in authenticator) when a new credential is registered. It contains information about the newly created public key credential and about the authenticator itself, allowing the receiving party to verify that the credential was genuinely produced by an authentic device. It is generated during the registration (attestation) step rather than during later sign-ins.
In the WebAuthn/FIDO2 model, the attestation object is a specific type of signed data object returned during credential creation (registration) that contains statements about a newly generated public key credential and about the authenticator that created it. Per the evidence, it includes authenticator data and cryptographic attestation that the key pair was created by that authenticator, enabling a relying party to validate the authenticator's authenticity, typically through trust chains, as part of verifying attestation. It is distinct from the assertion produced during subsequent authentication ceremonies; attestation concerns the creation and provenance of credentials, whereas assertion concerns proving possession of an existing credential. Note that the object being signed establishes integrity and origin of the statements but is not equivalent to encryption. Specific attestation formats, statement contents, and trust-chain validation behavior depend on the authenticator and deployment configuration, and are otherwise out of scope for this definition.
Why it matters
The attestation object is what lets a relying party answer a critical trust question at the moment a credential is registered: was this public key credential actually produced by a genuine, trustworthy authenticator, or by something masquerading as one? In WebAuthn/FIDO2 registration, the private key never leaves the authenticator, so the relying party has no direct way to inspect the device that generated the key pair. The attestation object closes that gap by carrying signed statements about the newly created credential and the authenticator itself, which the relying party can validate, typically through trust chains, before deciding to accept the credential.
This matters most in higher-assurance deployments where an organization needs to constrain registration to specific, approved authenticator models or vendors. For example, an enterprise or government relying party may require that only certified hardware security keys be enrolled, and attestation is the mechanism that makes such a policy enforceable at registration time. Because the object is signed, its statements have integrity and verifiable origin; however, signed is not the same as encrypted, so attestation establishes provenance rather than confidentiality of the contained data.
It is important to keep attestation scoped to the registration (credential creation) step. The attestation object is not involved in later sign-ins, where an assertion is produced instead to prove possession of an existing credential. Conflating the two leads to design and audit errors, such as expecting device provenance checks to occur on every authentication, so understanding where the attestation object appears in the ceremony is essential to reasoning about what trust the relying party actually gains and when.
Who it's relevant to
Inside Attestation Object
Common questions
Answers to the questions practitioners most commonly ask about Attestation Object.
