Engineering guide · ICAM
WebAuthn Hardware Fulfillment
On this page
End-to-end lifecycleProvider protocolAPI quick startAuthorization and assuranceStorage and operationsAtlas supports pre-shipped WebAuthn authenticators without creating a second credential authority. The provider protocol is familiar to Okta integrations, while Atlas adds tenant isolation, pinned provider trust, transactional native credential creation, explicit assurance gates, and cryptographically chained evidence.
End-to-end lifecycle
| State | Operation | Invariant |
|---|---|---|
|
|
Only P-384 encryption and signing JWKs, allowed AAGUIDs, and minimum firmware are accepted. Private provider keys are never sent to Atlas. |
Validated provider |
|
A recent protocol-readiness record is required. The configuring operator cannot approve activation. |
|
|
A different phishing-resistant AAL3 principal activates the exact tested version. |
|
|
The request binds tenant, user, provider, RP IDs, expiry, and an HMAC reference to separately protected order data. |
|
|
Atlas returns encrypted PIN and credential requests. The Atlas P-384 response private key is protected by Vault Transit and never returned. |
|
|
A different AAL3 principal verifies the pinned provider signature, exact challenge bindings, AAGUID, firmware, UV and non-backup policy. The transition and native |
PIN delivered |
|
Atlas re-verifies the signed response, decrypts only in memory, and uses the tenant’s managed email provider. There is no deployment-global fallback. |
Errored or revoked |
|
Evidence is retained. Revocation disables the native credential and MFA device in the same transaction. |
Provider protocol
Atlas-to-provider requests are compact JWE values using ECDH-ES and A256GCM.
Provider responses are compact ES384 JWS values nested inside that same JWE construction.
All accepted keys are P-384 and include an exact kid.
Activation uses only the provider trust pinned and independently activated in Atlas; a yubicoSigningJwks value in an activation request is an exact-match assertion, not a new trust input.
Credential response claims bind:
-
tenant, fulfillment request, user, and enrollment identifiers;
-
RP ID, one-time 256-bit challenge, and expiry;
-
credential ID, COSE public key, AAGUID, transports, and sign counter;
-
user verification and backup eligibility/state.
Atlas accepts ES256, EdDSA, or RSA-PSS credential public keys after COSE parsing. Hardware fulfillment requires user verification and rejects backup-eligible or backed-up credentials because a shipped authenticator must remain a physical possession factor.
API quick start
curl -X POST "$ATLAS/api/v1/webauthn-fulfillment/requests" \
-H "Authorization: Bearer $TOKEN" \
-H "Idempotency-Key: order-42-fulfillment" \
-H "Content-Type: application/json" \
-d '{
"userId": "4f09ddeb-3baa-44ef-b79b-c3c61aec5db1",
"fulfillmentProvider": "yubico",
"enrollmentRpIds": ["login.example.mil"],
"orderDetailsRef": "vault://hardware-orders/order-42",
"reason": "issue phishing-resistant workforce authenticator"
}'
Use the returned request ID with the provider-facing enroll operation.
Use the resulting atlasResponseKeyJWK only to encrypt signed provider responses.
The activating principal must be different from the initializing principal.
Swagger UI and the machine-readable OpenAPI document are available at the gateway’s standard /docs and /openapi.json endpoints.
The detailed contract documents all Atlas-native and Okta-compatible operations.
Authorization and assurance
| Capability | Minimum | Purpose |
|---|---|---|
|
Fresh AAL2 |
Read redacted provider, fulfillment, enrollment, and verified evidence state. |
|
Fresh AAL2 |
Create requests, initialize fulfillment, mark errors, and deliver PINs. |
|
Fresh AAL2 |
Pin and test provider public trust. |
|
Phishing-resistant AAL3 |
Independently activate or retire providers and activate or revoke credentials. |
Every mutation requires an idempotency key and optimistic version. Idempotency keys, reasons, order references, serials, PINs, challenges, and public-key evidence are domain-separated with a tenant-bound HMAC before comparison or reporting.
Storage and operations
Apply embedded identity migration 056_create_webauthn_fulfillment.sql.
Production startup requires:
-
PostgreSQL identity storage;
-
Vault Transit with the
atlas-webauthn-fulfillmentkey; -
ATLAS_WEBAUTHN_FULFILLMENT_INTEGRITY_KEY_B64, at least 256 bits; -
ATLAS_WEBAUTHN_FULFILLMENT_RP_IDS, a comma-separated allowlist; -
an active tenant-managed email delivery provider before PIN delivery.
Atlas service is the provider conformance test.
It performs the real P-384 encryption/signature exchange, verifies policy, materializes a credential, and demonstrates PIN recovery only through the delivery path.
Run make webauthn-fulfillment-docker-validation for the PostgreSQL proof of
atomic credential/MFA materialization, restart recovery, append-only evidence,
stale-version rejection, and atomic revocation.