Show-HarborPermissions
Displays the RBAC permission map – which groups go on each safe type and what each can do – rendered straight from rbac-map.json.
Syntax
Section titled “Syntax”Show-HarborPermissions [[-SafeType] <string>] [[-ConfigPath] <string>] [[-ConfigProfile] <string>] [-RetrieveAccounts] [-AsObject]Description
Section titled “Description”This is the same data the tool applies when it sets safe members, so the view and the enforcement never drift. ‘OPT’ permissions (retrieveAccounts on managed types) are resolved using -RetrieveAccounts (defaults to the config default). Use -SafeType to focus on one type, or -AsObject for the raw assignments.
Examples
Section titled “Examples”Example 1
Section titled “Example 1”Show-HarborPermissions -SafeType shared-managedExample 2
Section titled “Example 2”Show-HarborPermissions -SafeType svc-managed -RetrieveAccountsParameters
Section titled “Parameters”-AsObject
Section titled “-AsObject”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
SwitchParameter |
No | Named | No |
-ConfigPath
Section titled “-ConfigPath”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 1 | No |
-ConfigProfile
Section titled “-ConfigProfile”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 2 | No |
-RetrieveAccounts
Section titled “-RetrieveAccounts”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
SwitchParameter |
No | Named | No |
-SafeType
Section titled “-SafeType”Not described in the module help.
| Type | Required | Position | Pipeline input |
|---|---|---|---|
String |
No | 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 Show-HarborPermissions -Full
Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.
