Skip to content

Get-PAMSafeRegister

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

Reads and filters the local safe register.

Terminal window
Get-PAMSafeRegister [[-App] <string>] [[-Environment] <string>] [[-UniqueId] <string>] [[-OutputPath] <string>] [[-ConfigPath] <string>] [[-ConfigProfile] <string>] [-Refresh] [-ExportCsv]

Loads the register referenced by the active environment profile and returns its entries as objects (pipeable to Where-Object, Export-Csv, etc.). Optional filters narrow by application, environment or unique ID. Use -ExportCsv with -OutputPath to write a CSV copy.

Terminal window
Get-PAMSafeRegister -App PAS -Environment P
Terminal window
Get-PAMSafeRegister -ExportCsv -OutputPath .\register.csv

Not described in the module help.

Type Required Position Pipeline input
String No 0 No

Not described in the module help.

Type Required Position Pipeline input
String No 4 No

Not described in the module help.

Type Required Position Pipeline input
String No 5 No

Not described in the module help.

Type Required Position Pipeline input
String No 1 No

Not described in the module help.

Type Required Position Pipeline input
SwitchParameter No Named No

Not described in the module help.

Type Required Position Pipeline input
String No 3 No

Re-sync the cache from the vault first (backfill + mark-missing). Requires a connected session; the register is a CACHE of the vault.

Type Required Position Pipeline input
SwitchParameter No Named No

Not described in the module help.

Type Required Position Pipeline input
String No 2 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.