files/en-us/web/api/authenticatorattestationresponse/index.md
{{APIRef("Web Authentication API")}}{{securecontext_header}}
The AuthenticatorAttestationResponse interface of the Web Authentication API is the result of a WebAuthn credential registration. It contains information about the credential that the server needs to perform WebAuthn assertions, such as its credential ID and public key.
An AuthenticatorAttestationResponse object instance is available in the {{domxref("PublicKeyCredential.response", "response")}} property of a {{domxref("PublicKeyCredential")}} object returned by a successful {{domxref("CredentialsContainer.create()")}} call.
This interface inherits from {{domxref("AuthenticatorResponse")}}.
{{InheritanceDiagram}}
[!NOTE] This interface is restricted to top-level contexts. Use of its features from within an {{HTMLElement("iframe")}} element will not have any effect.
Also inherits properties from its parent, {{domxref("AuthenticatorResponse")}}.
{{domxref("AuthenticatorAttestationResponse.attestationObject")}} {{ReadOnlyInline}}
{{domxref("AuthenticatorResponse.clientDataJSON")}} {{ReadOnlyInline}}
publicKey option. This data contains some information from the options passed into the create() call, and some information controlled by the browser.SubjectPublicKeyInfo of the new credential (see Subject Public Key Info), or null if this is not available.usb, nfc) are believed to be supported with the authenticator. The array may be empty if the information is not available.See Creating a public key credential for a detailed example.
{{Specifications}}
{{Compat}}