How to export your data from CyberArk Privileged Access Manager

Account and safe inventories can leave CyberArk through its documented REST API and example scripts, but secrets, recordings and audit history need separate plans. This guide covers the documented paths, limits and sequence.

On this page

How to export your data from CyberArk Privileged Access Manager without losing control of secrets

The documented REST API and the example scripts that CyberArk publishes can pull account and safe inventories to CSV and list safe memberships. Secret values, session recordings and audit history do not leave the vault through a simple export, so plan for each of them separately. Treat this export as an input to migration. It shows what exists and who can reach it, but it does not recreate permissions, rotation schedules or session controls in another tool. Before you start, ask your CyberArk administrator for a read-only account scoped to the safes in scope, and confirm with your account team how API support will be handled under the Idira brand during renewal.

Start with the account inventory. Run the example scripts against a test tenant or a non-production copy if your team has one, then review the CSV columns your version returns before relying on them. Confirm which fields describe each account, its safe, its platform and the system it targets. Next, export safe memberships, because they show which users and groups hold which permissions on each safe. That map is the starting point for least privilege design in the target tool and for evidence against NIST SP 800-53 Rev. 5 AC-6. Store both files in an encrypted, access-restricted location and treat them as sensitive, since they describe your privileged estate in detail.

The limits matter most for secrets and history. Scripts that list accounts give you no basis for copying passwords or keys out of the vault in plaintext, and a migration should not depend on doing so. Move credentials through the rotation or re-issuance process of each target system, and schedule rotation at cutover so anything copied or cached becomes stale. Confirm in writing whether recordings and audit logs can be exported in your version and under your contract. If they cannot, plan to keep read access to CyberArk for the retention period your regulator or auditors require. Logging of privileged functions is an expectation in the moderate baseline (AC-6(9)) of NIST SP 800-53B, so keep the old audit trail readable until that period ends.

What CyberArk data can be exported through the documented API

This table separates the CyberArk data types a team can usually pull through the documented REST API and vendor example scripts from the data that needs a separate plan. Read the Method and Limit columns together, since a data type can be reachable while the export account still lacks permission to see it. Confirm every endpoint and script name against the API documentation for your CyberArk version before you plan the export.

Data typeExport methodOutputLimit to test
Account inventoryREST API account listing, run through vendor example scriptsCSV produced by the scriptConfirm that the export account sees every safe, and check how pagination handles large vaults
Safe inventoryREST API safe listing, run through vendor example scriptsCSV produced by the scriptCheck whether hidden or nested safes appear for the export account
Safe membershipsREST API member listing per safe, run through vendor example scriptsCSV produced by the script, one row per member and safeVerify the exported permission flags match what the console shows for a sample safe
Platform and account metadataPlatform and property fields returned with account records, where your version documents themCSV columns from the script outputConfirm which fields are documented for your version and which are only visible in the console
Stored passwords and secret valuesNot a supported bulk export in the documented scriptsNone from the standard scriptsTreat as out of scope for export and plan a controlled rotation or re-enrollment instead
Session recordings and audit historyOutside the account and safe inventory scriptsSeparate export or retention tooling, to confirm with the vendorAsk whether recordings and audit logs leave in a usable format and how long they stay available
API rate limits and pagingApplies to every scripted callPartial output if the script stops earlyRun a test export on a copy or a small safe set and compare row counts to the console

Why secret values, recordings and audit history do not leave the vault

The CyberArk REST API and the vendor's example scripts reach inventory data well, but four categories of data sit behind controls that a routine export does not cross. Each limit below calls for a specific cutover decision, and each one should be confirmed with CyberArk before you plan the migration window.

Stored passwords and keys

The vault is designed to protect secret values, so a routine export should not be expected to return plaintext passwords, SSH keys or API tokens for every account. Export gives you the account inventory: names, addresses, safe membership and platform. Plan to rotate or re-issue each credential at cutover so the new system holds values that CyberArk never has to release. Ask CyberArk whether any sanctioned bulk retrieval exists, what approvals it needs and whether it is logged.

Session recordings

Recordings are the evidence of what privileged users did, and they are stored in CyberArk's own format and retention settings. The REST API does not give you a general download of the recording library in a form a bastion can replay. Decide early whether recordings stay in CyberArk under read-only access, move to archive storage with an index you can search, or are kept as an evidence set for the retention period your auditors expect. Confirm the file format and the playback tooling with the vendor.

Audit and activity logs

Audit history records who viewed, checked out or changed each secret, and compliance teams often need it for years after the last session. Export tools typically cover the current configuration and may not return the full historical audit trail. Ask CyberArk which log types the API can read, how far back they go, and whether the Vault audit log can be forwarded to your SIEM before the instance is shut down. Keep an export of these logs in write-once storage.

Integrations and retrieval scripts

Applications, CI jobs and scheduled tasks often fetch credentials from CyberArk through the Central Credential Provider or the REST API, and those calls do not move with the account inventory. Each caller needs its own change: a new retrieval path, a new identity and a tested fallback. Build a list of every application ID and retrieval call from the logs before cutover, and assign an owner to each one. Confirm with CyberArk which integration components a read-only instance still supports.

Policy logic and dual control rules

Access policies, dual control approvals, exclusive access and password change policies are defined in CyberArk's configuration and are not a portable data set. The inventory export shows which safes exist and who is a member, but not the conditions that governed how a member could use an account. Document each policy that applies to a safe before cutover, then rebuild it as a role, approval workflow or rotation rule in the target system. Ask CyberArk whether policy objects can be exported and in what format.

Sequence for a complete export and verification

This sequence moves CyberArk inventory data out of the vault in a controlled way, with counts reconciled against the live console and each file checked before anyone relies on it. The result is a verified, access-controlled set of exports that records what was taken, what was left behind, and what still needs a separate retention decision.

  1. Confirm contract and API licensing

    Before any script runs, the contract owner checks with CyberArk or the reseller that the REST API is licensed and enabled for your tenant and that the export is permitted under your agreement. Ask the vendor which API endpoints your deployment exposes and whether your version matches the documentation you plan to follow. Record the answers in the project file. The step is complete when the licensing confirmation and the target API version are written down and signed off by the contract owner.

  2. Create a dedicated read-only export account

    Create a separate service account used only for the export, and grant it read permissions on the safes in scope and no write, delete or password retrieval rights it does not need. Enforce MFA or the authentication method your policy requires for administrative-level accounts, and keep the account out of routine use. This supports least privilege and the separation of administrator activity that frameworks such as NIST SP 800-53 AC-6 and the CIS Controls expect. The step is complete when a permission review shows the account can list inventory but cannot change or reveal credentials.

  3. Run inventory scripts for safes, accounts and memberships

    Run the vendor's example scripts or your own REST API calls to export the safe list, the account inventory with metadata such as platform, address and username, and the safe membership and permission lists. Write each output to a named CSV file with a run date and the account used. Do not export password values, and confirm the script output contains no secret fields. The step is complete when every in-scope safe has a corresponding membership file and the run log shows no unhandled API errors.

  4. Reconcile counts against the live console

    Compare the number of safes, accounts and memberships in each CSV with the totals shown in the CyberArk console or reports for the same date. Investigate any difference, such as accounts created during the export window, pagination errors or safes the export account cannot see. Document each variance and its cause. The step is complete when the counts match or every difference has a recorded explanation.

  5. Store exports under access control

    Move the CSV files to a restricted location in your own infrastructure, with encryption at rest, access limited to named reviewers, and logging of reads and changes. Keep the export account's credentials out of the output folder and delete any temporary files the scripts created. The inventory describes privileged access, so treat the files as sensitive. The step is complete when the access list for the storage location has been reviewed and the audit log confirms who has opened the files.

  6. Capture recording and audit retention settings

    Separately from the inventory, record where session recordings and audit logs are stored, how long your current policy keeps them, and whether the export tooling can reach them. Recordings and detailed audit history are often not available through the same API as account inventories, so the output of this step is a written inventory of what stays in CyberArk, what must be retained for regulatory or contractual reasons, and who owns that decision. Frameworks such as NIS2 Implementing Regulation 2024/2690 point to logging privileged access, so confirm your retention obligations with your compliance lead. The step is complete when the retention register names each log source, its location and its owner.

  7. Verify each CSV against live records

    For each file, select a sample of records and check them one by one against the live console, comparing platform, address, safe name and membership entries. Calculate a checksum, such as SHA-256, for every CSV at export time and store the hashes with the run log so later copies can be confirmed as unchanged. A second reviewer who did not run the export repeats the sample check and signs the verification record. Any mismatch reopens the export for that safe. The step is complete when the checksums are recorded, the second reviewer's sign-off is on file, and every mismatch is resolved or documented as an accepted exception.

What an export must prove to auditors before the contract ends

A CSV of accounts and safes is only audit evidence if it is complete, traceable and protected. Before the contract ends, the export has to show who held privileged access, when that access changed and who approved the change. ISO/IEC 27001:2022 Annex A control 8.2 expects the allocation and use of privileged access rights to be restricted and managed, so an auditor will ask whether the inventory matches the live vault on the day of export, not a copy from months earlier. Ask CyberArk or your integrator to confirm the export timestamp and the query scope, and record both alongside the file hash.

Privileged function logging is the harder part. NIST SP 800-53 control AC-6(9) concerns logging the use of privileged functions, and the REST API inventory does not carry the full audit history of who retrieved which password or opened which session. Treat recordings and audit logs as separate evidence sets with their own export route and retention rule. Confirm with the vendor which audit records can be extracted, in what format and with what time range, and plan to retain the source system's logs for the period your auditor will sample.

Role-based change is the third expectation. SOC 2 criterion CC6.3 expects access to be granted, changed or removed according to roles and responsibilities, with least privilege and segregation of duties considered. A safe membership list shows the state at one moment, so keep dated snapshots of safe permissions and the approval record for each change. The export is also sensitive in its own right, since account names and safe structure reveal the attack surface. Store it encrypted, limit access to the people named in the evidence plan, and remember that DeployOpen prepares this evidence, while independent auditors and certification bodies decide the assessment outcome.

What to plan before the CyberArk contract ends

Exporting data is the last step of a longer exit. Four to six decisions decide whether the export is complete, whether the old instance is still available when you need it, and whether the target tools fit your size and budget. Confirm each item in writing with CyberArk or Palo Alto Networks before the notice window closes.

Notice and renewal dates

Find the notice period, the renewal date and any auto-renewal clause in the current order form. Check whether the contract allows a short extension for data retrieval and at what cost. Ask CyberArk or Palo Alto Networks to confirm in writing that the vault stays readable for the export window, since the export depends on the instance still running.

API and script access in the subscription

Confirm that REST API access and the vendor's example scripts are included in your license tier and not restricted to a separate add-on. Ask whether read-only API accounts can be created for the export, and whether the vendor will support the scripts during the exit. Without this, the inventory may be incomplete or delayed.

Teleport README

Parallel running and instance retention

Decide how long the CyberArk instance stays live after the new tools go into production. Parallel running lets you compare permissions and check that every workflow is covered. Confirm the retention terms in writing, including whether the vendor keeps logs and backups after the subscription ends and for how long.

Recording and audit archive obligations

Session recordings and audit history usually cannot be exported in a form the new tools can replay. Decide where archived recordings will be stored, who can read them, and how long they must be kept under your own policy and under NIS2 logging duties for privileged access. Ask the vendor which formats and retention periods apply at exit.

NIS2 implementing regulation

Target tool licensing

Teleport Community Edition is licensed only to organizations with fewer than 100 employees and under $10,000,000 in annual revenue. Above those limits, Teleport Enterprise is needed. JumpServer Community covers core bastion use, while password rotation, approval workflows and SSO are Enterprise features. Map each CyberArk function you rely on to a tier before you commit.

Teleport pricing

Staff time for inventory review

The exported account and safe inventory needs review by people who know which accounts are live, which are dormant and which owners have left. Assign named owners for each safe and budget their time for the review. Recurring costs such as the platform administrators who run the new tools continue after the export, so plan them alongside the one-time migration work.

How the export path moves data out of the vault

The path starts at the CyberArk vault, where the REST API is called by a dedicated export account with read-only permissions. Account and safe inventories leave as CSV files and land in a staging area with access logging, which is the trust boundary to review. Verification checks the inventory before anything is loaded into Teleport, JumpServer or OpenBao. Secrets and session recordings follow a separate archive path that never enters the CSV pipeline, because the REST API does not expose them as plain inventory.

Inventory exports pass through a logged staging area, while secrets and recordings take a separate archive path.

Common questions about exporting data from CyberArk

How much effort does a full CyberArk export take?

The effort depends mostly on how much you need to move and how clean the source data is. The main drivers are the number of safes, the number of accounts in each safe, the number of safe memberships and their permission sets, and how many scripts you must adapt or rerun. A team with a small, well-documented vault can finish the inventory quickly, while a large estate with many nested groups, inconsistent naming and undocumented exceptions needs more review time. Ask any provider for a written breakdown that separates inventory extraction, mapping to the new platform, validation and cutover, because each stage has a different cost driver.

Can our own team run the CyberArk export scripts?

Often yes, if you have someone who can work with the vendor's REST API and PowerShell or Python-based example scripts. The work needs a strong grasp of CyberArk's safe and account model, authentication for a service identity, error handling for paged results, and careful handling of output files that contain sensitive metadata. Scripts from the vendor are examples, so your team must review them, test them in a non-production environment and maintain them as the API and your estate change. Confirm current script versions and supported API endpoints with CyberArk before you plan around them.

What does an export need from our side?

The export needs API access for a dedicated, least-privilege service identity, a documented list of safes in scope, and named owners who can confirm which accounts are live and which are retired. You also need a change window if the export touches production vault operations, and reviewers from security, the application owners and the platform team who sign off on the mapping of safe permissions to the new model. Plan for a read-only run first, then a validation pass against a known sample. Agree on who holds the exported files, where they are stored and how they are deleted after the migration is closed.

Can secrets, passwords and keys be exported from CyberArk?

The account inventory, which includes account names, safe names, platform and address metadata, can usually be exported to CSV. Passwords and other secret values are a different matter: the documented API and example scripts do not give a general route to pull plaintext secrets out of the vault for bulk transfer, and you should not assume otherwise. Plan to rotate or re-issue credentials on the target platform, or to set up dynamic credentials where the target supports them. Confirm the exact export capabilities for your CyberArk version and license with the vendor before you commit to a migration approach.

What happens to session recordings and audit history?

Session recordings and audit logs generally stay in CyberArk or in your archive, and they should not be assumed to move with the account inventory. Keep the vault and its logs available in read-only form for the retention period your policies, contracts and regulators require. Controls such as the logging of privileged functions in NIST SP 800-53 control AC-6(9), and the requirement in the NIS2 Implementing Regulation for logs of privileged access, mean you must still be able to produce evidence after cutover. Ask the target platform how it stores and exports its own session records, and document where historical evidence lives.

What does a DeployOpen engagement cover for an export?

DeployOpen plans, implements, integrates, hardens, documents and supports self-hosted open-source platforms in your own infrastructure. For an export, a fixed-scope engagement typically covers the agreed inventory extraction, the mapping of safes and memberships to the target platform, validation against a sample, documentation of what stayed behind and the handover. Scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that written scope. DeployOpen does not publish a price list. Ask for the written scope to name which safes, accounts and recordings are in and out, and who signs off each stage.

How do we confirm the export is complete before we cut over?

Compare counts and samples between the source and the exported files, then test that a representative set of accounts and safe permissions behave as expected on the target platform. Record exceptions in writing, including accounts that were retired, skipped or re-issued. Ask the provider to describe the reconciliation method, the reviewers and the sign-off record before work starts. Keep the source vault read-only until the reconciliation is accepted, so you can resolve gaps without losing the original state.

How the export is verified and handed over

Treat every export as a claim that must be checked against the live vault before anyone relies on it. Reconcile the account and safe inventory files against a fresh query of CyberArk at the time of export, not against an earlier run, because accounts are created, moved and deleted while a migration is underway. Compare counts per safe, the set of account names and the safe membership lists field by field, and record each difference in a gap log with the safe name, the object, the reason it was excluded (for example, a permission the API did not return or an object type the script does not cover) and the person who accepted or resolved it. Ask the vendor or your CyberArk administrator to confirm which fields the version you run returns, since the gap log is only as complete as the field list behind it.

Store the export files in a location your own policy controls, with access limited to the migration team, encryption at rest, and a retention period set by your records and security policies rather than by the migration. Do not place CSV files with account metadata in shared drives or chat channels. Record a checksum for each file so a later reviewer can show the files were not altered. Confirm with your legal and compliance owners how long the inventory and the gap log must be kept, and when they will be securely deleted once the target platform is accepted. Keep the account used for the export under the same controls as any other privileged identity, with its own CyberArk permissions reviewed before and after the run.

The handover package should let an independent reviewer repeat the export without asking the team questions. Include the method (script names and versions, the API endpoints called, parameters used and the run date and time), the account and its safe permissions, the reconciliation results, the full gap log with owners and status, and an explicit list of open items such as recordings, audit history and secret values that stay in CyberArk. Name who signed off each item and what remains for the next phase. This package also gives your compliance team evidence for access reviews during the transition, so keep it in your own document system alongside the change record.

How DeployOpen scopes and delivers an exit from CyberArk

A written, fixed scope turns the CyberArk export into an inventory you can verify, rebuilt on your chosen open-source platform with evidence a compliance team can review. Retainer support is available afterward if you want it.

  1. Agree the scope in writing

    DeployOpen and your team define which CyberArk safes, accounts and access paths are in scope, which target platform you intend to use (such as Teleport, JumpServer or OpenBao), and which items stay in CyberArk for now. Deliverables, the export method and acceptance checks are recorded in a written scope before any work starts. The step is complete when both parties have signed off on that scope document.

  2. Confirm the export method and permissions

    Your CyberArk administrators confirm the API account, the safes it can read and the scripts or REST calls that will run, so the export matches what your vendor documentation and your internal change process allow. DeployOpen reviews these permissions for least privilege and records who ran which export and when. The step closes when the export plan and access approvals are documented and accepted by your security owner.

  3. Export and reconcile the inventory

    The account and safe inventories are exported to CSV, and safe memberships are captured separately. DeployOpen compares the export against counts your team pulls directly from CyberArk, then flags accounts with missing owners, duplicate names or unclear permissions. The step is done when the reconciled inventory is signed off and every discrepancy has a recorded decision.

  4. Document what cannot leave the vault

    Secrets, session recordings and most audit history cannot be moved through the standard export path, so they need a separate plan. DeployOpen lists each category, its retention requirement and the owner who keeps it, including whether the material stays in CyberArk for a defined period or is archived under your records policy. The step closes with a retention and archive register that your compliance lead can review.

  5. Implement the target platform in your environment

    DeployOpen plans and deploys the chosen open-source platform inside your infrastructure, with SSO, access control, audit logging and data handling controls configured for your environment. Assets, accounts and roles are rebuilt from the reconciled inventory, and any gaps against CyberArk features are logged as decisions. The step is complete when the platform passes the acceptance checks set in the written scope.

  6. Verify access and collect compliance evidence

    DeployOpen tests the rebuilt permissions and session paths against the agreed acceptance criteria, then assembles the evidence your assessors will ask for, such as configuration records, access mappings, logging settings and the export reconciliation. DeployOpen prepares this evidence but does not issue audit reports or certifications, which independent auditors provide. The step is done when the evidence pack is delivered and your team confirms it covers the agreed controls.

  7. Hand over and cut over

    Your team receives runbooks, configuration documentation and the handover checklist, and the cutover to the new platform is carried out in the order agreed in the scope. Access to CyberArk is reduced in line with the retention register. The step closes when your owners accept the handover in writing and the open items are either resolved or assigned.

  8. Continue with optional retainer support

    After handover, you can choose a retainer for upgrades, continuous testing and ongoing support of the new platform. Pricing follows from the written scope, and DeployOpen does not publish a price list, so a quote is prepared once the scope is agreed. DeployOpen is not a CyberArk partner or reseller, and the decision to use a retainer does not affect the scope delivered.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.