How to export your data from StrongDM

StrongDM exports its configuration and logs through documented paths, but session replays and some access history need a retention plan. This guide sets out what leaves, how to verify it, and what to settle before the contract ends.

On this page

What you can export from StrongDM and what you cannot

Teams leaving StrongDM before or at renewal need a clear inventory of what can leave and in what form. Resources, roles and access rules can be exported through the Terraform provider, gateway and relay logs can be taken off the hosts as local JSON or CSV files, and Log Stream can send events to S3. Session replays and anything not documented as exportable need a separate retention plan, because the migration cannot assume they will follow the rest. Treat that split as the starting point for your exit checklist and confirm each item with your StrongDM contact before it is needed. The sections below walk through each route, what to verify, and what to archive before the contract ends.

The Terraform provider covers configuration, so export the resource, role and access rule definitions from current state and confirm which attributes the provider returns and which it omits. Secret values and credentials are the items most likely to need reissuing on the new platform, so ask in writing whether they can be exported at all. Logs on gateways and relays are local files, which means those hosts must stay online, or be imaged, until the files are copied out. Check the JSON or CSV field names and timestamp formats before you write any parser, because the import into your archive or SIEM depends on them. Log Stream to S3 typically covers events from the point it was enabled, so confirm whether earlier history can be recovered from any other source.

Replays need their own plan. Confirm the file format, whether playback works outside StrongDM, and how long your retention policy and regulation require you to keep privileged session records, for example to meet the logging expectation for privileged access in NIS2 Implementing Regulation 2024/2690 or to supply SOC 2 evidence. Set the archive location and access controls before the gateways are shut down, and record checksums so you can show the copy is complete. Teleport's feature matrix lists session recording with playback in both editions, which helps you decide whether old replays need conversion or can stay in cold storage. The sections that follow take the Terraform export, log handling and the S3 pipeline in that order.

Which StrongDM data exports, by method and format

This table compares each category of StrongDM data by export method, file format and the prerequisites or limits to confirm before the contract ends. Use it to build a retrieval checklist, starting with resource and role definitions and the logs on gateways and relays. The main takeaway is that configuration can be recovered through Terraform, while logs and replays need a separate, dated retention plan.

Data typeExport methodFormatLimits and prerequisites to confirm
Resource definitionsTerraform provider, reading or importing existing resources into stateHCL configuration and Terraform stateConfirm the provider version supports each resource type and that existing objects can be imported.
Roles and access rulesTerraform provider, using the same workflow as resourcesHCL configuration and Terraform stateConfirm how access rules reference roles and resources so you can recreate them in the right order.
Gateway and relay logsLocal files on each gateway or relay hostJSON or CSV filesCopy files before decommissioning hosts. Confirm file paths, rotation behavior and retention settings.
Log Stream eventsLog Stream export to an Amazon S3 bucketEvent records in the format StrongDM documentsNeeds a bucket, write permissions and a retention policy. Confirm whether events from before setup are included.
Session replaysExport or download from the StrongDM admin interface, method to confirmReplay files, format and playback tooling to confirmConfirm whether all replays are retrievable and how long they stay available after renewal.
Other audit recordsAsk StrongDM or Delinea support which record types can be exportedFormats to confirm in writingRequest a written list of user and administrator activity records that can be exported before the contract ends.
Stored datasource credentialsConfirm whether credentials can be exported at allNot documented here, to confirmPlan to re-enter or reissue credentials in the new platform if export is not available.

What does not export cleanly and how teams work around it

Resources, roles and access rules can be rebuilt from exported configuration, but some StrongDM data lives outside that path. Session replays, admin console settings, user-level history and stored credentials each need a separate plan, and each has a different owner and deadline. Work out which of these you hold before the contract ends, not after.

Session replays need their own archive

Session recordings are the evidence most often asked for in an audit, and they are the item teams most often leave until the end. Before the contract ends, confirm in StrongDM's documentation how replays can be retrieved and in what format, then copy them to storage your team controls. Check retention settings first, because replays may expire on the vendor side before your contract does. Keep a manifest that maps each replay to its user, resource and date so the archive is still useful later.

Teleport session recording

Admin console settings are not in the export

Settings made in the admin console, such as SSO configuration, approval flows, and some account-level options, may not appear in Terraform output or log files. Screenshot or document each setting during a review session, and compare that list against what your Terraform configuration covers. Treat the console as a source of truth to check, not as something a script will capture for you. Ask the vendor which settings are managed only through the console.

User-level history is missing from logs

Log files on gateways and relays record connections, but they may not capture who approved a change, who was granted access at a given date, or how a role looked before an edit. Auditors often ask for that history for access reviews under least-privilege controls. Export the current state from Terraform state under version control, and start a dated change log now so the history begins before the migration. Confirm with the vendor what the logs contain and what they omit.

Stored credentials cannot be read back

Passwords, keys and tokens that StrongDM holds for resources are typically write-only, so they cannot be exported in plain form. Plan to recreate each credential on the new platform, using a rotation step so old values are retired. Inventory which resources depend on shared credentials, and confirm with the vendor whether any credential can be retrieved or must be reset at the source. Treat this as a rotation project, with a named owner for each database or server account.

Rebuild the inventory from Terraform state

The resource inventory is the piece most teams can recover cleanly, but only if the Terraform state and configuration are complete and current. Compare the state file against the live console to find resources created by hand that Terraform does not know about. Store the state and configuration in version control with restricted access, since they describe your entire access surface. Confirm the provider version you used, because schema differences can drop fields.

The export sequence and how to verify each step

This sequence moves your StrongDM configuration and audit records into storage you control before the contract ends. Each step closes with a check so you know what was captured, what is missing and what still needs a retention decision.

  1. Freeze the resource inventory

    Before any export, record the current list of databases, servers, Kubernetes clusters and websites registered in StrongDM, along with their owners and the environments they belong to. Ask the platform owner to pause new registrations and role changes for the export window so the snapshot stays consistent. Store the inventory as a dated file in your own repository or document store. The step is complete when the platform owner signs off that the inventory matches what the console shows at that moment.

  2. Export resources, roles and access rules through Terraform

    Use the StrongDM Terraform provider with read access to pull resources, roles and access rules into configuration files, then keep the state and generated files under version control. Confirm the provider version and which resource types it covers against the vendor's current documentation before you rely on it. Verify by comparing counts per resource type from the Terraform output against the console, and by checking that a sample of roles grants the same resources in both places. Record any object the provider does not return so it can be rebuilt by hand.

  3. Collect gateway and relay logs

    Gateways and relays can keep local JSON or CSV logs. Identify every gateway and relay host, confirm where its log files are written and how long the host keeps them, and copy them to your archive location with the host name and date in the path. Use checksums such as SHA-256 generated on the source host and recomputed after transfer. Verify completeness by picking a sample of sessions you know took place, such as scheduled maintenance or a test login, and confirming each one appears in the copied logs with matching timestamps and user identity.

  4. Configure Log Stream export to S3

    Set up Log Stream to send ongoing audit events to an S3 bucket that your team controls, with restricted write and read permissions, encryption at rest and versioning or object lock if your retention rules require immutability. Confirm bucket settings and the exact event fields with the vendor documentation for your account. Verify the stream by generating known test events and checking that they arrive in the bucket with the expected structure, then checking that the file hashes or object metadata match what you recorded during the sample check.

  5. Archive session replays under a retention plan

    Replays are often the largest and most sensitive part of the export, so decide retention periods with your compliance and legal teams before copying anything. Download the replays that fall in your retention window, store them with the same naming and hashing scheme used for logs, and restrict access to the people who review audit evidence. Verify by sampling replays, opening them in the archive, and confirming the session identifier, user and target match the matching log entries. Ask the vendor in writing what happens to replays after contract termination.

  6. Reconcile and sign off the export package

    Bring the inventory, Terraform output, log archive, Log Stream bucket listing and replay archive into one index with an owner for each part. Compare totals across the sources, confirm that every exception is documented, and have the security owner and compliance lead review the index. The step is complete when a named person signs the index and it is stored where auditors can reach it. Keep a copy of the signed index outside the StrongDM environment so the record survives the cutover.

How to plan replay and audit retention before the contract ends

Start retention planning now, because session replays and gateway logs are often the only evidence that privileged sessions were recorded and reviewed, and that evidence may need to outlive the StrongDM subscription. Compliance and legal owners, usually the CISO's audit or GRC function with input from the data protection officer, should set the retention period for each record type before the contract ends. Their drivers differ: NIST SP 800-53 control AC-6(9) expects privileged functions to be logged, NIS2 implementing point 3.2.3(e) expects logs of privileged access and administrative activity, and SOC 2 CC6.3 expects access changes tied to roles and removals to be traceable. Ask your auditors which period they will sample across the audit window, and write that period into the retention schedule.

The archive location decides who can read the evidence later and whether anyone can prove it was not altered. Replays and JSON or CSV logs copied out of StrongDM contain sensitive session content, so keep them in storage with the same or stricter access controls as the source, limited to a named group that does not include the administrators whose sessions are being reviewed. Enable object lock or write-once settings where the storage supports them, record checksums when files are written, and keep a manifest that maps each archive to its source gateway, relay and date range. Confirm with your storage provider how versioning, deletion and key management are handled, because these settings determine whether the archive will stand up in an assessment.

Plan the handover before the final export runs. Confirm which Log Stream destination and the S3 bucket permissions remain in place after cancellation, test a restore of one replay and one log file into the new archive, and agree with the auditors whether the old StrongDM records or the exported copies will be treated as the system of record for the transition period. Ask Delinea, in writing, how long replays and logs remain available after the subscription ends and in what format, since that answer sets the size of your gap. Budget for the archive as an ongoing cost, because retention periods usually run longer than the migration itself.

What to plan in the contract before renewal or termination

The export methods on this page only work if the contract gives you the time and the data rights to use them. Procurement and legal should settle the terms below before the renewal or termination notice date, because each one decides what you can still reach after access ends.

Data return format and scope

Decide with legal which artifacts the vendor must return in writing: resource and role definitions, access rules, and any exported logs. Ask whether returned data is in a machine-readable form such as JSON or CSV, and whether it includes the fields your auditors ask for, such as user identity and timestamps. The Terraform provider covers configuration, but it does not replace contractual data return. Confirm this in writing with the vendor.

Teleport README

Access window after termination

Confirm how long your administrators and users keep working access after the contract ends, and whether gateways and relays keep forwarding sessions during that window. A parallel run needs live access to the old system while the new one is being populated, so the window must cover the cutover and the verification of your inventory. Ask for the window length in the contract, not in a support email.

Replays and Log Stream history

Establish whether session replays and Log Stream history are included in the return, and in what format. Replays are often the largest files and are the evidence you rely on for privileged activity reviews. If they are not returned, you need a retention plan that copies them to your own storage before the access window closes. Check whether the vendor can export a complete history or only a recent window.

Notice period for a parallel export

Work backward from the termination date to set the notice period. The export needs time to pull configuration, archive logs, rebuild the inventory in the new platform and run a test session with each user group. Ask procurement to secure written notice terms that let you start exports before the final invoice. Your own project plan should set the actual duration, and the vendor should confirm the dates it will honor.

Log retention and legal holds

Ask legal whether any audit, incident or regulatory hold applies to privileged access records, and whether the vendor will keep copies after termination. Decide who owns the archived logs and how long your own retention schedule requires them to be kept. Privileged function logging is expected under several frameworks, so gaps in the record become findings during assessments.

Written quote and pricing terms

Pricing for export support, extended access, data return and replay retrieval should come from a written quote from the vendor or its reseller, not from this page. Ask which of these items carry a separate fee, what recurs after termination, and what is one-time. Compare the quote with the cost of running a parallel system during the transition, and record the agreed scope in writing before work starts.

Where exported data lands in a self-hosted replacement

Self-hosted Teleport does not import a StrongDM export as data. You use the export as a source list and write the Teleport configuration yourself. Resources exported through the Terraform provider become the hosts, databases and clusters you enroll with Teleport agents, and roles and access rules are recreated in Teleport's role model. Before you deploy the Community Edition, confirm eligibility. The distributed builds are available only to organizations with fewer than 100 employees and less than $10,000,000 in annual revenue, with an exception for designated critical security patch versions. Review the Community license text with counsel.

  • Resources: Hosts, databases and Kubernetes clusters from the export carry names and labels, but each target must be re-enrolled with an agent before Teleport can reach it.
  • Roles: StrongDM roles and access rules are mapped to Teleport roles by hand, and each mapping should be tested with a non-production user before cutover.
  • Single sign-on: Community Edition limits SSO to GitHub, so an identity provider that StrongDM used, such as Okta or Microsoft Entra ID, needs Enterprise or a different login path.
  • Access requests: Role requests run through the CLI only, so StrongDM approval history does not carry over and must be archived separately.
  • Session recordings: Community Edition records sessions with playback, but StrongDM replay files stay in your archive and do not become Teleport audit events.

Check your headcount and annual revenue against the license text before you deploy, and reassess when either figure changes.

How the export paths feed a verified archive

The diagram starts with the Terraform provider, which pulls resources, roles and access rules into a versioned repository that you control. Gateway and relay logs are collected as local JSON or CSV files, Log Stream events flow to your S3 bucket, and replays are copied to a controlled archive. Every path ends in one verification and retention store inside the customer-controlled trust boundary, where you check completeness and hashes before the contract ends. Confirm with StrongDM which export formats and retention settings your plan actually includes.

Four export paths converge into one verified archive under customer control.

Questions buyers ask before exporting StrongDM data

How much effort does a full StrongDM data export take?

The effort depends mostly on three things: the number of resources, roles and access rules you manage, the volume of local logs on gateways and relays, and how much replay history you need to keep. Resource and role definitions are usually the quickest part, because the StrongDM Terraform provider can read them out in a structured form. Logs and replays take longer, since they sit on each gateway and relay or in any Log Stream destination you configured. Before you plan, inventory each of these four areas and confirm with StrongDM which export paths your contract and deployment support, since the exact options can vary by version.

Can our own engineers export StrongDM data without outside help?

Yes, a team with infrastructure-as-code and Linux administration skills can usually do the export internally. The work needs someone comfortable with Terraform state and provider configuration, someone who can access the gateway and relay hosts and copy files from them, and someone who understands your audit retention obligations. Outside help tends to add value in the mapping step, where roles and access workflows must be translated into a different model, and in writing the evidence that shows the export was complete. Decide early who owns each piece so no log directory is left behind when a gateway is decommissioned.

How long does the export work take, and what sets the timeline?

The timeline is set by inventory size, the number of gateways and relays holding local logs, replay retention requirements, and how many approvals your security and compliance teams need before data leaves StrongDM's environment. Export of definitions is generally short once the Terraform configuration is in place, while copying and verifying logs can run in parallel. Ask any consultant or internal team to give a schedule only after they have counted these items, and check your StrongDM renewal date against the export window so you are not racing the contract end.

What access does the internal team need for the export?

Plan for four kinds of access: an administrative API token or account with read rights to the Terraform provider's resources, write access to a state or working directory your team controls, shell access to each gateway and relay that holds local JSON or CSV logs, and a destination in cloud object storage with an access policy limited to the export job. If you use Log Stream to S3, confirm the bucket, the encryption settings and the lifecycle rules that will govern the data after export. Record who holds each credential and revoke the temporary ones when the export ends.

Are exported StrongDM logs enough for an audit?

Exported logs can support an audit only if they are complete, unaltered and linked to the access rules that were in force at the time. Logs alone do not prove that privileged access was restricted or reviewed. Map the exported records to the controls your auditor tests, such as least privilege, logging of privileged functions and administrator account separation, and keep the role and access-rule exports with a dated snapshot. Store hashes or an integrity record for each file, and agree with your assessor in advance which evidence format they accept. Independent auditors decide sufficiency, not the export tooling.

What should a consultant quote for a StrongDM export include?

A written quote should list the scope in concrete terms: the resource and role inventory, each gateway and relay whose logs are collected, the replay retention rule, the destination storage, the verification method, and the evidence package delivered at the end. It should also state which tasks are one-time, such as the initial export and mapping, and which recur, such as retention checks or a second pass before contract end. Ask for named deliverables, acceptance criteria, what happens if StrongDM changes its export options during the work, and what the client must provide. DeployOpen works from a written scope, and the quote follows from that scope.

What should we confirm with StrongDM before we start?

Confirm with StrongDM and Delinea which export methods your contract covers, whether the Terraform provider version you run can read every resource type you use, how local log and replay files are stored and rotated on your gateways and relays, and whether any replays are encrypted with keys you need to keep. Ask how long the service retains data after the contract ends, and in what format. Get the answers in writing, because these details decide how much work the export takes and what you must archive before access is switched off.

How DeployOpen scopes an export and exit from StrongDM

DeployOpen plans and implements self-hosted open-source platforms inside your own cloud accounts, data centers or air-gapped networks, so an exit from StrongDM starts with a written scope that the two sides agree before any work begins. For the export work described on this page, that scope should name each source you need to keep: the resource inventory pulled through the Terraform provider, the roles and access rules, the gateway and relay JSON or CSV logs, any Log Stream exports already landing in S3, and the session replays that carry a retention obligation. It should also say which of these are migrated, which are archived as read-only evidence, and who signs off on each. DeployOpen prepares the controls and evidence for compliance assessments, but it does not issue audit reports or attestations. Independent auditors and certification bodies do that work, so the scope should state which evidence your auditor expects to see.

Engagements are fixed-scope. Deliverables, milestones and timelines are agreed in writing before work starts, and any change to the scope goes through the same written route. A useful first step is an inventory check: confirm with your StrongDM administrator which export paths your plan and contract allow, and record which resource types, roles and log stores exist today. Ask the target platform's maintainers to confirm the features your controls depend on, such as session recording, approval workflows or single sign-on edition limits, instead of assuming them from this page. Ask for a quote that separates one-time work (export scripts, role mapping, log archive, cutover testing) from recurring cost, and state the retention period your compliance team requires for replays and logs so that archive storage is sized against it.

Exits rarely end at cutover. Retainers cover upgrades, backups and continuous testing of the new platform, and they are a sensible option when the archive, the access policies and the audit evidence must stay current after the StrongDM contract ends. Decide early whether you need a retainer, a one-time handover, or both, and write the handover terms into the scope. Confirm with your legal and records teams how long replays and access logs must be kept, who can read the archive, and how it will be deleted when the retention period ends. Those answers shape the archive design more than any tool choice, so settle them before the first export runs.

How DeployOpen works on this

DeployOpen plans and runs the StrongDM data exit as a written, fixed-scope engagement inside your own infrastructure. The work covers what you export, where it is stored, how it is retained and how the receiving environment is verified before the StrongDM contract ends.

How we scope

  • Inventory every StrongDM resource, role and access rule the export must capture before work starts
  • Confirm which gateway and relay logs, replays and Log Stream exports you must keep and for how long
  • Agree in writing the retention plan for replays and logs, including who can read them afterward
  • Set the deliverables, timeline and acceptance checks in the written scope, which is the basis for the quote

How we build

  • Script the Terraform provider export of resources and roles into version-controlled configuration you own
  • Copy local JSON or CSV gateway and relay logs to storage you control, with checksums recorded for each file
  • Configure S3 Log Stream destinations in your own bucket and test that records arrive complete and readable
  • Test restored exports and archived replays against access controls, encryption and audit logging before sign-off

How we hand over

  • Deliver an export runbook that lists each data set, its source command, storage location and owner
  • Provide a verification record showing item counts and checksums compared with the StrongDM source
  • Document the retention schedule, access approvals and deletion steps to run after the contract ends
  • Hand over configuration and credentials in your own vault, with a walkthrough for your compliance team

How we support

  • Retain the export environment and runbook under an ongoing support retainer if your review runs longer
  • Rerun the export and verification on request when StrongDM data changes before the cutover date
  • Retest access controls on archived logs and replays under a continuous testing retainer, if you choose one
  • Ask for the written scope to name the compliance evidence we prepare and the parts your auditor must assess

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.