Retire a safe
When an application is retired, its safe should leave the governed estate in a way an auditor can follow. Harbor decommissions the register entry (the UID and its history stay), and only deletes the safe from the vault when you ask for it twice.
You need: the operator role and a vault session. Deleting from the vault also needs the CyberArk right to delete the safe, and CyberArk’s own retention rules still apply to it.
Check what you are about to remove
Section titled “Check what you are about to remove”- Open Registers → Safe Register (Register) and find the safe.
- Select Passport. Check the Accounts onboarded into it, the live Members, and the History.
- If accounts in the safe are still in use, move or retire them first.
- If you want a record, select Export vault evidence at the bottom of the page (tick Include every safe’s members (slower) for the membership).
Decommission
Section titled “Decommission”- On the safe’s row, select Decommission.
- Read the BLAST RADIUS: the members who lose access, the onboarded accounts, and the history.
- To keep the safe in the vault (for example during a grace period), leave
Also DELETE the safe from the vault (irreversible) clear and select
Decommission. The register entry becomes
decommissioned. - To delete it from the vault too, tick the box, select Decommission, type the safe name in the second dialog and select Delete from the vault.
Afterwards
Section titled “Afterwards”- The safe no longer appears in Drift (only active register safes are audited).
- If you kept it in the vault, a later Sync still matches it; delete it from the vault when the grace period ends.
- The decommissioning is in Activity and in the month’s summary (Decommissioned).
- To reverse everything one run created, see Reverse a whole run.
Reverse a whole run
Section titled “Reverse a whole run”When a create or import went wrong as a whole (the wrong CSV, the wrong environment code), reverse it in CyberArk itself:
- Find what the run created by its run ID. The ID is on every log line, every Activity entry and the Run column of the Register, and it stays there for audit.
- In PVWA or Privilege Cloud, decommission or delete those safes. If you delete a safe, remove its accounts first.
- Bring the Harbor register in line: decommission each of those safes here (register only), then run Sync.
From PowerShell
Section titled “From PowerShell”Remove-PAMSafe -SafeName <safe> -Reason 'Application retired, CHG-1234' # register onlyRemove-PAMSafe -SafeName <safe> -Reason 'Application retired, CHG-1234' -DeleteFromVault # also delete itSee Remove-PAMSafe and Get-PAMSafePassport.
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
