Skip to content

Set-HarborCpmList

Harbor OnboardNo sign-in neededGenerated from the codeDescribes Onboard 0.59.0

Sets the list of managing CPMs (name + location) that are selectable when creating a safe – stored per-profile in environment.local.json.

Terminal window
Set-HarborCpmList [[-Cpm] <Object[]>] [[-ProfileName] <string>] [[-ConfigPath] <string>] [-WhatIf] [-Confirm]

Personal safes derive their name’s location segment (e.g. AZR / AWS) from the CPM chosen at create time, so each CPM carries a location; shared / service safes use the CPM name only. Pass an array of CPM entries, each a hashtable or object with name and location. An empty list clears the configured CPMs.

Terminal window
Set-HarborCpmList -Cpm @(@{ name = 'PasswordManager'; location = 'AZR' }, @{ name = 'CPM-AWS'; location = 'AWS' })

Not described in the module help.

Type Required Position Pipeline input
String No 2 No

Asks for confirmation before the command changes anything.

Type Required Position Pipeline input
SwitchParameter No Named No

Aliases: cf.

Not described in the module help.

Type Required Position Pipeline input
Object[] No 0 No

Default: @().

Not described in the module help.

Type Required Position Pipeline input
String No 1 No

Shows what the command would do, without doing it.

Type Required Position Pipeline input
SwitchParameter No Named No

Aliases: wi.

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.