Skip to content

Get-PAMSafeMember

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

Pulls the LIVE members of a safe straight from the vault – the ground truth behind the RBAC drift report. Use it to see exactly what CyberArk returns for a safe (name, member type, granted permissions).

Terminal window
Get-PAMSafeMember [-SafeName] <string> [-Raw] [-ConfigPath <string>] [-ConfigProfile <string>]

Thin, friendly wrapper over GET /API/Safes/{safeUrlId}/Members. Returns one row per member with the granted (true) permissions as a readable list, plus the raw permission object for programmatic use. If this returns members but the drift report says they’re missing, the mismatch is in the comparison; if this returns nothing, it’s a read/permission problem on the tenant.

Terminal window
Get-PAMSafeMember -SafeName AB-ABC-SRV-WIN-DA-I-M-P
Terminal window
Get-PAMSafeMember -SafeName AB-ABC-SRV-WIN-DA-I-M-P | Format-Table MemberName, MemberType, Granted

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