Skip to content

Retire a safe

Harbor OnboardRole: operatorDescribes Onboard 0.55.0

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.

  1. Open Registers → Safe Register (Register) and find the safe.
  2. Select Passport. Check the Accounts onboarded into it, the live Members, and the History.
  3. If accounts in the safe are still in use, move or retire them first.
  4. 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).
  1. On the safe’s row, select Decommission.
  2. Read the BLAST RADIUS: the members who lose access, the onboarded accounts, and the history.
  3. 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.
  4. 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.
  • 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.

When a create or import went wrong as a whole (the wrong CSV, the wrong environment code), reverse it in CyberArk itself:

  1. 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.
  2. In PVWA or Privilege Cloud, decommission or delete those safes. If you delete a safe, remove its accounts first.
  3. Bring the Harbor register in line: decommission each of those safes here (register only), then run Sync.
Terminal window
Remove-PAMSafe -SafeName <safe> -Reason 'Application retired, CHG-1234' # register only
Remove-PAMSafe -SafeName <safe> -Reason 'Application retired, CHG-1234' -DeleteFromVault # also delete it

See 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.