The most common mistake is treating export as a convenience feature rather than a security boundary. Legacy export methods often rely on unencrypted CSV files, which can expose credentials in transit or at rest. Teams also overlook compatibility limits, such as credentials with special security attributes that may not transfer cleanly across apps or platforms.
Why export creates a security boundary, not just a convenience path
Exporting passkeys and other credentials changes the trust model because the credential is no longer protected only inside the source app or platform. Once teams turn an export into a portable file or transfer format, they inherit transport, storage, and handling risk that can outweigh the convenience of migration. That is especially true for secrets that were designed to be tightly scoped, device-bound, or hardware-backed.
Export also tends to blur two different questions: can the data move, and should it move in a reusable form? A team may be able to preserve access across platforms, but still lose important protection properties such as phishing resistance, local hardware protection, or a non-exportable key lifecycle. When those properties are lost, the export is not just a copy, it is a downgrade.
For a broader identity and secrets-management lens, see Ultimate Guide to NHIs and the section on static vs dynamic secrets, which shows why long-lived exportable material increases exposure compared with shorter-lived or better-contained credentials.
Legacy export flows are often built around file portability, not credential safety. That means teams may move sensitive material through email, downloads, shared drives, chat tools, ticket attachments, or ad hoc scripts without rethinking who can intercept or retain it. The technical issue is not only secrecy, but also provenance: once the file leaves the original environment, it becomes harder to know where it has been copied, cached, or backed up.
Platform migration is where this becomes most visible. An export may preserve a username and a password-like secret, but it may not preserve device binding, attestation state, policy enforcement, or app-specific security attributes. In practice, that means the receiving system can import the identity data while silently weakening the original protection model. Teams often discover this only after a failed import, a broken login flow, or a credential that works but no longer behaves as expected.
Export problems also compound when the secret is reused across multiple systems. A copied credential can carry the blast radius of every system it unlocks, which is why export should be treated as a high-risk lifecycle event rather than an admin convenience. If the file is readable in transit or at rest, then every downstream copy, backup, and endpoint cache becomes part of the exposure surface.
Several NHIMG resources illustrate the same failure pattern from different angles, including Guide to the Secret Sprawl Challenge, Emerald Whale breach, and 52 NHI Breaches Analysis, all of which reinforce that the danger is usually not the existence of a secret, but uncontrolled propagation of it.
Risk and Threat Considerations
Exported credentials are attractive to attackers because they are often portable, human-readable, and easier to exfiltrate than the protected original. If teams rely on weak transfer methods, the credential can be captured in transit or recovered from local storage, then reused for account takeover, lateral movement, or unauthorized access to linked systems.
Failure mechanism: Export paths that rely on unencrypted files, shared links, or informal handling can expose credentials before, during, or after migration, and may also strip security attributes that were present in the source system.
Impact: A single export mistake can turn a controlled credential into reusable access material, increasing exposure across every application or platform that trusts it.
Standards & Framework Alignment
This section maps relevant standards and security frameworks to the operational risks and controls described in this guidance.
OWASP Non-Human Identity Top 10 address the attack and risk surface, while NIST CSF 2.0, CIS Controls v8 and NIST SP 800-63 set the governance and control requirements practitioners need to meet.
| Framework | Control / Reference | Relevance |
|---|---|---|
| OWASP Non-Human Identity Top 10 | NHI-01 — Secrets and Credential Management | Exported passkeys and credentials can become exposed secret material. |
| NHI-04 — Lifecycle and Offboarding | Export during migration changes credential lifecycle and revocation needs. | |
| NHI-08 — Third-Party and Supply Chain Risk | Export often moves credentials across apps, devices, or platforms. | |
| Recommendation — Encrypt, restrict, and rotate exported credential material to prevent secret exposure. Revoke or rotate source credentials once export and migration are complete. Assess every cross-platform export path for trust expansion and downstream exposure. | ||
| NIST CSF 2.0 | PR.AC-1 — Identities and Credentials Managed | Credential export changes how identities and authenticators are governed. |
| PR.DS-1 — Data-at-Rest Protected | Exported files can expose credentials when stored locally or backed up. | |
| PR.AC-4 — Access Permissions and Authorizations Managed | Export should not create broader access than the source credential had. | |
| Recommendation — Track exported credentials as governed identity material throughout their lifecycle. Protect exported credential files at rest with encryption and access restrictions. Limit who can export, open, or import credential artifacts. | ||
| CIS Controls v8 | 6.3 — Data Recovery | Export artifacts often end up in backups and secondary copies. |
| 6.7 — Establish and Maintain an Inventory of Authorized Software | Credential export depends on which apps can move and import secrets. | |
| 5.3 — Account Management | Exported credentials still require lifecycle control after migration. | |
| Recommendation — Include exported credential files in secure handling and retention controls. Inventory approved tools that can export or import credentials. Disable or rotate source access once the new credential path is verified. | ||
| NIST SP 800-63 | 5.1 — Authenticator Lifecycle | Passkey export affects authenticator portability, binding, and lifecycle. |
| Recommendation — Preserve authenticator lifecycle controls when moving passkeys between platforms. | ||
Practitioner Guidance
What to verify: Treat export as a controlled transition, not a data shuffle. Verify whether the destination actually supports the credential type, whether security attributes survive the move, and whether the export artifact is encrypted, access-controlled, and time-bounded.
- Confirm whether the exported object is a true credential replica or only a partial transfer that changes its protection properties.
- Check whether the export format can be recovered from logs, backups, endpoint sync, or temporary storage.
- Validate that the old credential is revoked or rotated when the export is part of a migration.
Decision rule: If export creates a file that can authenticate to production systems, treat it like privileged secret material and require the same controls you would use for any high-impact credential handoff.
Practitioner takeaway: The key judgement is whether export preserves security properties, not just functionality, because a successful transfer that weakens containment is often a security loss disguised as operational progress.
Related resources from NHI Mgmt Group
- What do teams get wrong about organising shared passwords for users and departments?
- What do teams get wrong about dynamic privilege in real operations?
- What do teams get wrong about granular permission control?
- What do security teams get wrong about using FedRAMP Ready status as proof that a platform is fully approved?
Deepen Your Knowledge
Reviewed and updated by the NHIMG editorial team on September 18, 2026.
NHI Mgmt Group — the #1 independent authority on Non-Human Identity, IAM, and Agentic AI security. nhimg.org