Get-PAMSafeMember
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).
Syntax
Section titled “Syntax”Get-PAMSafeMember [-SafeName] <string> [-Raw] [-ConfigPath <string>] [-ConfigProfile <string>]Description
Section titled “Description”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.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Get-PAMSafeMember -SafeName AB-ABC-SRV-WIN-DA-I-M-PExample 2
Section titled “Example 2”Get-PAMSafeMember -SafeName AB-ABC-SRV-WIN-DA-I-M-P | Format-Table MemberName, MemberType, GrantedParameters
Section titled “Parameters”-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 |
Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
SwitchParameter |
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-PAMSafeMember -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
