Harbor suiteRole: adminDescribes Onboard 0.58.0 / Health 0.21.0
environment.json holds profiles: one per tenant (environment) of your
organisation, for example prod and test. Your real values go in the shared
override, %ProgramData%\Harbor\environment.local.json; see
Configuration files for how the layers combine.
A JSON Schema for these files is planned; until then this page is the reference.
The profile a plain launch serves. -ConfigProfile <name> on the launchers and cmdlets picks another. A console keeps the profile it started with until it is restarted.
profiles
The profiles, by name. Names are simple tokens (letters, digits, -, _).
thresholds
Harbor Health only: check thresholds for every profile (see below).
The Privilege Cloud URL, https://<tenant>.privilegecloud.cyberark.cloud.
identityUrl
The CyberArk Identity URL, https://<tenant id>.id.cyberark.cloud.
tenantName, tenantId
Written by the setup wizard and Tenant & service account, which derive the two URLs from them. Each must be one DNS label, and the URLs must be CyberArk cloud hosts.
authMethod
demo makes a demo profile (the built-in sample vault, no tenant). Older profiles also used it for the vault logon kind; that now lives in serviceAccount.kind.
Saving the tenant with a different host removes the stored service secret, resets
the service account’s secret source to prompt and ends the service session, so an
old secret is never sent to a new host.
The emergency (break-glass) account: username, passwordHash (salted PBKDF2), passwordChangedAt, idleTimeoutMinutes (default 20). Written by Set-HarborWebLogin and the first-run screen; never edit the hash. role and allowBypass are ignored.
The safe register file. Relative to the module folder unless absolute.
accountRegisterPath
The account register file (default account-register.json beside the safe register).
defaultManagingCpm
The managing CPM for new managed safes, unless the request names one. Wins over safe-defaults.json.
cpms
The CPMs you use: [{ "name": "PasswordManager", "location": "AZR" }]. The location becomes part of personal safe names. Maintained on Managing CPMs & Doctor or with Set-HarborCpmList.
registerSync
{ "maxAgeHours": 24 }: creating a safe warns when the register was last synchronised with the vault longer ago.
compliance
snapshotKeep (dated compliance snapshots to keep, default 60, at least 5) and autoRemediate{ "enabled", "maxSafesPerRun" (1-50, default 5), "dryRun" }: after a scheduled compliance scan, repair standing drift by adding what is missing, never by removing members.
assistant
The optional AI assistant, written by Set-HarborAssistant. Off unless present and enabled. Its API key is never stored here.
Thresholds come from Harbor’s defaults, then a top-level thresholds block, then
the profile’s own thresholds block (the profile wins, key by key). The
Thresholds & tuning page writes the profile’s block.
Threshold
Default
Used by
cpmStaleDays
2
A CPM whose last logon is older is stale.
rotationMaxDays
90
A rotation interval above this is overdue policy.
managedRatioTarget
0.9
Target share of sampled accounts under CPM management.
failureBacklogMax
0.05
Tolerated share of accounts in CPM failure.
accountSampleLimit
200
How many accounts a scan samples.
monitorScanMinutes
30
Background monitoring scans when the last scan is older.
fleetRefreshSeconds
60
Background fleet refresh interval; 0 turns it off.
bandGreen, bandAmber
90, 70
Score bands: healthy, attention, at risk.
disabledChecks (a list of check ids, set on Checks & rules) skips those
checks in every scan and removes them from the score.