Skip to content

Get-PAMSafePassport

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

The full lifecycle “passport” of one safe: its register entry, the accounts Harbor onboarded into it, every activity-log line that mentions it (across ALL days), and – when connected – its live members and RBAC drift status. One object that answers “what happened to this safe?”.

Terminal window
Get-PAMSafePassport [-SafeName] <string> [-ActivityTail <int>] [-ConfigPath <string>] [-ConfigProfile <string>]

Works offline (register + activity history); the live sections (Members, Drift) are added automatically when a session is connected and skipped quietly otherwise. Activity is scanned from every harbor-*.jsonl in the profile’s log folder, newest first, capped by -ActivityTail.

Terminal window
Get-PAMSafePassport -SafeName AB-PAS-SRV-WIN-DA-I-M-P

Not described in the module help.

Type Required Position Pipeline input
Int32 No Named No

Default: 100.

Not described in the module help.

Type Required Position Pipeline input
String No Named No

Not described in the module help.

Type Required Position Pipeline input
String No Named No

Not described in the module help.

Type Required Position Pipeline input
String Yes 0 No

This command also accepts the PowerShell common parameters (-Verbose, -ErrorAction, and so on).

Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.