Skip to content

safe-defaults.json

Harbor OnboardRole: adminDescribes Onboard 0.58.0

Config/safe-defaults.json holds the safe properties Harbor Onboard sets on every safe it creates. Edit it under Standards in the console (validated, with a backup and the change history), or with Save-HarborConfigDocument -File safe-defaults.

{
"numberOfDaysRetention": 7,
"numberOfVersionsRetention": null,
"olacEnabled": false,
"autoPurgeEnabled": false,
"managingCpm": "PasswordManager"
}
Field Meaning
numberOfDaysRetention How many days CyberArk keeps old versions of account secrets.
numberOfVersionsRetention How many old versions CyberArk keeps. CyberArk needs one of the two retention fields, not both empty.
olacEnabled Object-level access control on the safe.
autoPurgeEnabled CyberArk’s automatic purge of the safe’s deleted objects.
managingCpm The fallback managing CPM (see below).

The first that is set wins:

  1. the CPM named for that safe: the Create Safe choice, the CSV ManagingCpm column, or New-PAMSafe -ManagingCpm;
  2. the profile’s defaultManagingCpm in environment.json;
  3. managingCpm in this file.

A managed safe type without a CPM is refused: it would never rotate. The shipped policy rule cpm-required enforces the same; see policy-rules.json.

Covers Harbor Onboard 0.59.0 / Harbor Health 0.22.0. On an older release? Upgrading and the release notes list what changed.