How to export your data from BeyondTrust Password Safe

Password Safe exports go through its documented API, SDK, CLI and Terraform provider, and they cover inventory and credentials more reliably than audit history or session recordings. This page sets out what can leave, what stays behind, and how to plan the export before the contract ends.

On this page

How to export your data from BeyondTrust Password Safe before the contract ends

If a renewal, a pricing change, a data residency rule or a decision to leave sets a deadline for Password Safe, plan the export as two separate jobs. Managed systems, accounts and secrets can be read through the documented API, SDK, CLI and Terraform provider, so you can inventory them and rebuild them elsewhere. Session recordings and audit history need their own archive plan, and you should confirm whether those interfaces return them at all. Before you start, check the exact endpoints, data formats, rate limits and permission requirements in the BeyondTrust documentation for your Password Safe version and deployment, because cloud and appliance installations may differ.

Start with an inventory that records which managed systems exist, which accounts sit on each one, who owns them and which workflows depend on them. Confirm whether the export carries the relationships between accounts, systems and access policies, or whether you must rebuild those by hand. Decide early how secret values will move. Some teams export values into encrypted storage with access logging, while others re-issue credentials on the target platform so no stored value crosses over. Run a test export against a non-production copy, compare record counts with the live tenant, and check that every field you need comes back before you commit to a cutover date.

Work backward from the subscription end date and keep Password Safe available in read-only use until the new platform has been verified. Ask BeyondTrust in writing what happens to session recordings and audit logs when the subscription ends, in what format they are delivered, how long they remain retrievable and what retrieval costs. Archive them into storage you control, with retention set by your records policy and by your audit obligations. Privileged function logging is part of the NIST SP 800-53 Rev. 5 AC-6 control family, and NIS2 expects logs of administrative activity, so confirm with your auditors which records they will need to see.

Which Password Safe data you can export through its documented interfaces

This table lists each class of Password Safe data, the documented interface that can reach it (API, SDK, CLI or Terraform provider), the output you should expect to confirm, and the limits to test before you rely on an export. Read it as a checklist: a row is only safe to plan around once you have run a test pull in your own tenant or appliance. The main takeaway is that managed systems and account metadata are usually the easiest to inventory, while password values and recorded sessions need separate confirmation.

Data typeDocumented method to confirmOutput to confirmLimits to confirm before you plan
Managed systemsPassword Safe API endpoints for managed systems, called directly or through the SDK or CLIConfirm the field set and whether IDs, names, hostnames and platform types come back in one responsePagination, rate limits and whether results depend on the API account's permissions
Managed accountsAPI endpoints for managed accounts, listed per systemConfirm whether account names and system links export in a structured form that you can load into another toolWhether password values can be retrieved for each account type, including those set to rotate or with check-out restrictions
Secrets and their folder or group structureSecrets API, with the SDK or CLI for bulk readsConfirm how folder paths, group membership and secret names are returned, and whether the hierarchy is preservedWhether secret values are returned in plain form, and whether the API account can read every folder
Account metadata (platform, owner, access rules)API and Terraform provider resource reads for platform, ownership and permission settingsConfirm whether access rules and request policies are exposed as data or only through the consoleWhether permissions are returned as effective rights or as raw policy objects, which affects rebuilding them elsewhere
Session recordingsNot covered by the managed system, account and secret interfaces in this table; confirm with BeyondTrust whether a separate export path existsConfirm the recording format, playback requirements and retention for each sessionStorage location, retention settings and whether recordings can be copied while the subscription is active
Audit and activity historyConfirm with BeyondTrust whether audit logs are available through the API, a log export or only through the consoleConfirm the log fields, time range and format available for downloadRetention windows and whether history prior to a certain date is kept at all

What stays behind in Password Safe and how to keep it

An inventory export through the API, SDK, CLI or Terraform provider moves systems, accounts and secrets, but several records sit outside that path. Session recordings, audit history, workflow settings, appliance configuration and policy-blocked values each need a named owner and a copy before the subscription ends.

Session recordings and their retention

Recorded sessions are often the largest item and the one auditors ask for first. Under AC-6 control enhancement 9, logging of privileged functions is expected in the moderate and high baselines, and NIS2 asks for logs of privileged access and administrative activity. Confirm with BeyondTrust whether recordings can be downloaded in bulk, in what format, and whether metadata such as user, target and timestamps travels with each file. Plan to archive them to object storage with retention set by your own policy.

AC-6 control text

Audit history and access logs

The audit trail shows who checked out which credential, when, and what changed in the vault. These entries support SOC 2 CC6.3 evidence that access was granted, changed and removed based on roles, and they are the record an auditor will compare against your new platform. Ask the vendor which audit and activity reports can be exported as CSV or through the API, and whether the export is complete for the full retention window. Store a signed or hashed copy in your evidence repository.

Approval and request workflow configuration

Approval chains, request reasons and time-bound release rules live in the Password Safe configuration, not in the account records. An inventory export will not carry them, so the target platform must be configured from scratch. Document each workflow as it is today, including who approves, which systems require dual approval and how emergency access is handled. Confirm with the vendor whether workflow settings can be read through the API or only through the console screens.

Gateway and appliance settings

Gateways, network routes, appliance time sources, certificates and integration settings define how sessions reach managed systems. These settings depend on the U-Series Appliance or cloud tenancy you run, and they rarely appear in an export. Record every gateway, its network path, its certificate chain and any firewall rules that allow inbound or outbound traffic. Confirm with BeyondTrust which of these settings are exportable and which must be rebuilt on the target bastion or proxy.

Password values blocked by policy

Some password values may be set to be non-retrievable by policy, even for administrators with rights to the account. These values will not appear in an export and cannot be moved as plain text. Ask the vendor how such accounts are identified in the API output, and whether a rotation or reset can be triggered on the target system to issue new credentials. Plan the cutover for these accounts separately, and record the owner who will set the new credential.

How data moves from Password Safe to the new platform

The export starts in Password Safe, where inventory and secrets are read through the documented API, CLI or SDK into a restricted staging area that holds no long-term plaintext copy. From staging, inventory and metadata go to JumpServer or Teleport, application and service secrets go to OpenBao, and session recordings and audit history go to a separate archive. Check every branch against the source counts before cutover, and treat this as a planning view that your own environment will adjust.

Planning view of export routes, trust boundaries and the pre-cutover check.

Export sequence for a complete Password Safe export with verification

This sequence moves Password Safe data out in controlled stages, with a check after each one so the team can show that systems, accounts, secrets and audit evidence were all accounted for. Each stage ends with a count, checksum or test that the next stage depends on.

  1. Confirm API, CLI and service account scope

    The Password Safe administrator confirms which API, SDK or CLI access the export will use and creates or reviews a dedicated service account with only the read permissions the export needs. Confirm in writing with BeyondTrust which endpoints, managed system scopes and secret types that account can reach, and whether your subscription or deployment type limits any of them. The step is done when a test read returns data from one known managed system and the access log shows that single, attributable call.

  2. Build an inventory of systems and accounts

    Using the scoped account, list every managed system, its directory or platform type, and every managed account attached to it, and save the result as a baseline file. Record the number of systems, the number of accounts per system and the number of secrets stored outside Password Safe that teams still reference. Store a checksum of the baseline in your change record, since every later comparison runs against this snapshot. The step closes when the inventory has been reviewed by the system owners and the totals are signed off.

  3. Export metadata in its own run

    Run the export for systems, platform types, organizational groupings, account names, descriptions, owners and policy assignments as a separate job from any secret values. Write the output to encrypted storage with restricted access, and log who ran it and when. Verify the run by comparing the record count per system against the baseline inventory and confirming that no system appears in one count but not the other. Metadata is only complete when every count matches or each difference has a documented reason.

  4. Export secrets in a separate controlled run

    Run the secret export as a distinct job, under a change window and with the fewest people who need to see the output. Keep the secrets in encrypted storage and never place them in tickets, chat or shared drives. Verify by counting exported secrets against the account counts from the baseline, then sampling a small set of accounts across different platform types to confirm each value is present and decrypts in your staging tool. Any account that fails the sample should trigger a full re-check for its system.

  5. Archive session recordings and audit history

    Session recordings and the audit history usually need a separate export path, so confirm with BeyondTrust what is retrievable, in what format and with which retention limits before the subscription ends. Copy the files and logs to your own archive with their original timestamps and hashes, and record the total count and checksum for each batch. Open a sample of recordings from the archive in the player or converter your auditors will use, and confirm that the user, target system and time range match the audit log entry. The step is complete when the archive is documented as readable without Password Safe running.

  6. Test sampled accounts in the new platform

    After the target platform has received the metadata and secrets, choose a sample across each system type, including accounts with unusual characters, shared accounts and accounts used by automated processes. For each sampled account, confirm that the new platform holds the correct identity, that a test login or dry-run succeeds where the owner approves it, and that the access policy matches the original. Record the pass or fail result for each sample. Do not treat the export as complete until every failure has a fix and a retest.

  7. Reconcile counts and checksums across all stages

    Bring together the inventory baseline, metadata counts, secret counts, archive totals and test results into one reconciliation record that the security and compliance owners review. Every stage should show the same system count, the same account count and a matching checksum for each file set, with any difference explained in writing. Keep the record with the archive so an auditor can trace each figure back to its source run. The export is ready to close when the owners sign the reconciliation and the old platform has been placed in read-only use for the agreed cutover period.

Moving retrieved passwords without copying them forward

A password retrieved from Password Safe during an export should be treated as a credential to replace, not a value to carry forward unchanged. Every account whose secret left the vault is a rotation task, because the export proves the secret existed outside the vault at a known point in time and any copy made since then may sit in scripts, configuration files, spreadsheets or ticket attachments. Before the subscription ends, build a list that maps each exported account to its owning system, its consumers and its rotation method, and confirm with the application owners which accounts can be rotated without an outage. Accounts that cannot be rotated on a schedule should be flagged as the highest-risk items in the migration plan.

For application and database access, the better target is usually not a new static password but a short-lived credential issued on demand. OpenBao's dynamic secrets for SQL databases and Kubernetes, together with leasing and automatic revocation, let a workload obtain a credential that expires and can be revoked in bulk, so no long-lived value needs to be copied from the old vault at all. Confirm which of your database engines and clients support this pattern and which must keep a static secret for now, and record that exception explicitly. Keep any exported material that must exist briefly in restricted, short-lived storage with access limited to the migration team, delete it once the import is verified, and log who handled it.

Use the migration to tighten who can reach these secrets. Grant the people doing the export and rotation their own dedicated administrator accounts, separate from their everyday identities, and require multi-factor authentication on every one of them, as the CIS Controls recommend for administrative access. Apply least privilege by giving each migration role only the read or write access its task needs, then remove those grants when the work ends. Ask your identity team to confirm that the export account itself is covered by MFA and that its activity is logged, because NIST SP 800-53 expects logging of privileged functions and the same evidence will be requested during a SOC 2 or ISO/IEC 27001 review.

Where exported data should land, by type of data

Managed systems, the accounts that log into them and the access policies that tie users to those systems usually belong in JumpServer, because it is built as a bastion with SSH, RDP, Kubernetes, database and web access. Assets and user groups can be recreated from an export of the Password Safe inventory, and access rules can be rebuilt as JumpServer permissions. Plan for the parts that do not carry over cleanly.

  • Assets and protocols: Map each managed system to a JumpServer asset and confirm which protocols it needs, since Oracle and SQL Server access is listed as an Enterprise feature.
  • Password rotation: Rotation and approval workflows are Enterprise features, so stored account passwords should not be assumed to rotate automatically in the Community edition.
  • Permissions: Redesign role-based rules in JumpServer rather than copying Password Safe policy objects one to one, and test each rule with a sample user.
  • Single sign-on and HA: SSO, LDAP HA and active-standby high availability are also listed as Enterprise features, so confirm them before cutover.
  • Licensing and asset counts: The Community edition is free for up to 5,000 assets in a standalone topology. Count assets from the export, and ask JumpServer which edition and topology fit that number and your hosting model.

Before committing, confirm the asset count, the Enterprise features you need and whether the Linux host meets the published minimum of 4 CPU cores and 8 GB of RAM.

What to plan before the Password Safe renewal or termination date

The export is only as complete as the time you give it. The cards below cover the contract terms, sequencing, retention and sign-off decisions that determine what leaves Password Safe and what stays behind. Ask BeyondTrust for the written terms on each point before you set a date.

Confirm API and export rights

Read the subscription agreement and any exit or transition terms to confirm that your licensed users may call the Password Safe API, SDK, CLI and Terraform provider for export, and for how long. Ask whether export rights continue after the subscription ends or are limited to a notice period. Ask BeyondTrust to confirm this in writing, because API access and exit assistance are often governed by separate clauses.

Export before access is reduced

Run the first full export while every managed system, account and permission is still in place. Scaling down a license tier, disabling service accounts or revoking admin roles early can cut off API calls that the export depends on. Schedule the full pass, then a delta pass shortly before cutover, so the final state matches what users see on the day of switchover.

Establish what survives termination

Ask in writing how long session recordings and audit history remain accessible after the subscription ends, in what format, and whether they can be downloaded in bulk. Recordings are often the largest data set and the hardest to reconstruct, so the answer determines whether you must archive them before the end date. Also confirm whether password history and check-out logs are included.

Set retention and the archive location

Decide how long exported recordings, audit logs and account inventories must be kept, based on your regulator, contract and internal policy, and where they will be stored. Choose an encrypted location under your control with restricted read access and documented retrieval steps. Keeping old recordings readable for audit is the usual reason this card needs an owner before the export starts.

Plan the dual-running period

Keep Password Safe and the replacement platform running side by side for a defined window so teams can verify access and fall back if a system is missed. Decide which accounts are rotated in each system during that window, since two vaults rotating the same credential can lock out a service. Record the window in the project plan so the subscription end date does not cut it short.

Assign verification sign-off owners

Name one owner for inventory completeness, one for account and permission mapping, and one for audit evidence. Each owner signs off a reconciliation of exported systems and accounts against the Password Safe source, including counts and a sample of checked-out credentials. Without named sign-off, gaps often surface only after the subscription has ended and vendor support is harder to reach.

Set the credential revocation date

Create a dated plan to revoke the API keys, service accounts and tokens used for export, and to remove the export user's rights after the final pull. Revoke only after the sign-off in the verification step, and log the revocation as evidence. Leaving export credentials active after termination is a common finding in access reviews, so this date belongs in the cutover plan.

Keeping audit evidence intact during the move

Treat the export itself as a privileged event that gets logged. Pulling managed systems, accounts and secrets out of Password Safe exposes credentials in bulk, so the export job, the account running it and the time window should all appear in Password Safe's own audit history before the subscription ends. Confirm with BeyondTrust which audit records the API, CLI and Terraform provider generate for read operations on accounts and secrets, and whether those records can be exported separately. Record who ran each extraction, from which host, and under which service identity, because an auditor will ask who could read every credential during the migration window.

The new platform has to produce privileged access logs that match what Password Safe gave you. ISO/IEC 27001:2022 Annex A control 8.2 expects privileged access rights to be restricted and managed, so the target must show who was granted which rights and when those rights changed. NIS2 Implementing Regulation 2024/2690 point 3.2.3(e) expects logs of privileged access and of activity performed by administrative accounts. Essential Eight maturity level 2 requires disabling privileged accounts after 45 days of inactivity (ISM-1648), so any account carried over from Password Safe needs a last-used date that the new system can report from the first day of operation. Map each of these requirements to a specific log source in the target before cutover.

Keep a signed migration record for the audit file. For each export batch, record the object counts for managed systems, accounts and secrets, a checksum of each export file, the Password Safe version and the export identity, and the reconciled count in the target. Obtain sign-offs from the system owner and the security approver, and store the record alongside the retained Password Safe audit history and recording archive. Confirm with your auditor or assessor which evidence format they accept, since this record supports the controls but does not replace their own testing.

Questions buyers ask about exporting from Password Safe

What drives the cost and effort of exporting from Password Safe?

The main drivers are how many managed systems, accounts and secrets you hold, how many of them have dependencies in scripts, pipelines or applications, and how cleanly ownership is recorded in the vault today. Export itself is usually the smaller task. Most of the effort goes into reconciling inventory, deciding which accounts should be migrated, retired or rebuilt under a new platform, and testing that consumers still work afterwards. Your own staff pay for time spent by administrators and application owners, while any partner is paid for the scope agreed in writing. Ask for a quote that separates inventory and mapping from script rewrites and validation.

How long does an export from Password Safe usually take?

Duration depends on the size and tidiness of the vault, the number of integrations that read secrets from it, and how fast your change control and sign-off process runs. Teams with well-documented owners and few hard-coded credentials generally move faster than teams where application owners must be found first. Plan for the export to run in phases, starting with a read-only inventory and ending with cutover for each group of systems. Ask any provider to state the phases and the dependencies between them in the written scope rather than giving a single overall estimate.

What does our internal team need to provide for the export?

Your team needs API or CLI access with a service identity that has read rights to managed systems and accounts, and a named owner for each system and account group. Owners must be available to confirm which accounts stay, which are retired and which need new credentials on the target platform. Security or compliance approvers should be booked before the export starts, because sign-off on migration waves often takes longer than the technical steps. Also confirm who holds the Terraform provider or SDK credentials, since those are often shared across pipelines.

Can we export from Password Safe without outside help?

Yes, many teams can export inventory and secrets with their own engineers, using the documented API, SDK, CLI and Terraform provider. The harder work is usually not the extraction but the judgment: deciding what to migrate, rebuilding permissions on the new platform, and proving that dependent systems still authenticate correctly. Internal teams often lack time for this during normal operations. Outside help is most useful for a fixed-scope inventory, a repeatable export script with validation, or independent checking before the subscription ends. Be clear in advance about which parts you will keep in-house.

What happens to session recordings and audit history?

Session recordings and audit history are generally not part of a secrets or account export, so plan to keep them separately under your own retention policy. Confirm with BeyondTrust exactly what the API, CLI and Terraform provider return, and what must be retrieved or archived through the product before the subscription ends. Regulators and auditors often still ask for evidence of privileged activity during the retention period, so decide early where that evidence will live and who can read it. Ask for a written record of what was archived, in what format, and how it can be searched later.

Does a retainer or a fixed-scope engagement fit an export better?

A fixed-scope engagement suits a bounded export with a clear inventory, defined deliverables and a known set of target systems, because the scope and acceptance criteria can be agreed before work starts. A retainer suits situations where the vault is large, requirements keep changing or the migration runs alongside other platform work over a longer period. Many organizations start with a fixed-scope inventory and mapping phase, then decide on ongoing support once the remaining work is clear. Either way, the choice should follow from the written scope rather than the other way round.

What should we request in a written scope for the export?

Ask for a list of the systems, accounts and secrets in scope, the export method for each category, and the named owners who approve each wave. The scope should state which items are out of scope, including session recordings and audit history, and how they will be archived. Request acceptance criteria for validation, a cutover and rollback plan, the deliverables expected at each phase, and a timeline for each phase. Also ask how credentials used by the export itself will be handled and destroyed afterwards, and who signs off on closing the engagement.

How DeployOpen works on this

DeployOpen approaches a Password Safe export as a fixed-scope piece of work: we first agree which managed systems, accounts and secrets leave the vault, which records stay behind, and how the target platform will receive them. We then build, test and document the export path inside your own environment, so your security and compliance teams can review every step before the subscription ends.

How we scope

  • We confirm which managed systems, accounts and secrets are in scope for export, and which are retired instead of moved.
  • We agree in writing what happens to session recordings and audit history, and where those records will be kept.
  • We identify which API, SDK, CLI or Terraform provider endpoints your Password Safe version exposes, and confirm access rights for the export account.

How we build

  • We build the export scripts against a non-production Password Safe copy and record the field mappings for every object type.
  • We test that exported accounts, systems and permissions match the source, and that no secret is written to an unprotected location.
  • We set up the export workspace in your infrastructure with access controls and logging, so the transfer itself can be audited.

How we hand over

  • We deliver the export scripts, mapping tables, test results and a run book so your own team can repeat the export.
  • We document where encrypted exports and retained recordings are stored, who holds the keys, and how long each copy is kept.
  • We walk your administrators through the final export steps and the checks that confirm nothing was missed before the cutover.

How we support

  • Ongoing support, upgrades and continuous testing are available as a retainer if the migration timeline shifts.
  • A retainer can cover re-running the export before the cutover date and retesting after any Password Safe configuration changes.
  • Support scope, response expectations and any retesting are written into the agreement before work starts, so you know what is covered.

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.