Skip to content

Show-HarborPermissions

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

Displays the RBAC permission map – which groups go on each safe type and what each can do – rendered straight from rbac-map.json.

Terminal window
Show-HarborPermissions [[-SafeType] <string>] [[-ConfigPath] <string>] [[-ConfigProfile] <string>] [-RetrieveAccounts] [-AsObject]

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.

Terminal window
Show-HarborPermissions -SafeType shared-managed
Terminal window
Show-HarborPermissions -SafeType svc-managed -RetrieveAccounts

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 1 No

Not described in the module help.

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