Get-PAMSafePassport
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?”.
Syntax
Section titled “Syntax”Get-PAMSafePassport [-SafeName] <string> [-ActivityTail <int>] [-ConfigPath <string>] [-ConfigProfile <string>]Description
Section titled “Description”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.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Get-PAMSafePassport -SafeName AB-PAS-SRV-WIN-DA-I-M-PParameters
Section titled “Parameters”-ActivityTail
Section titled “-ActivityTail”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
Int32 |
No | Named | No |
Default: 100.
-ConfigPath
Section titled “-ConfigPath”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | Named | No |
-ConfigProfile
Section titled “-ConfigProfile”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | Named | No |
-SafeName
Section titled “-SafeName”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).
See also
Section titled “See also”- All Harbor Onboard cmdlets
- In PowerShell:
Get-Help Get-PAMSafePassport -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
