Skip to content

Latest commit

 

History

History
51 lines (38 loc) · 1.92 KB

sync_policy.md

File metadata and controls

51 lines (38 loc) · 1.92 KB
page_title subcategory description
cyberark_sync_policy Resource - cyberark
Sync Policy Resource This resource is responsible for creating a new sync policy to synchronize the secrets between cloud platforms (secret store) and Privilege Cloud using CyberArk Secrets Hub. For more information click here https://docs.cyberark.com/secrets-hub-privilege-cloud/Latest/en/Content/Developer/sh-policy-api-tutorial.htm?tocpath=Developer%7CTutorials%7C_____4.

cyberark_sync_policy (Resource)

Sync Policy Resource

This resource is responsible for creating a new sync policy to synchronize the secrets between cloud platforms (secret store) and Privilege Cloud using CyberArk Secrets Hub.

For more information click here.

Example Usage

resource "cyberark_sync_policy" "syncpolicy" {
  name           = "azure_policy"
  description    = "Policy description"
  source_id      = "Source ID"
  target_id      = "Target ID"
  safe_name      = "TF_TEST_SAFE"
  transformation = "password_only_plain_text"
}

Schema

Required

  • name (String) Custom Sync Secret Store Policy Name for customizing the object name in a SecretsHub.
  • safe_name (String) Safe name need to be synced with target
  • source_id (String) SourceID to sync secrets from
  • target_id (String) TargetID to sync secrets to

Optional

  • description (String) Description for policy.
  • transformation (String) To sync only the password as plain text to password_only_plain_text

Read-Only

  • id (String) Sync policy Generated from CyberArk after onboarding policy into a secretshub.
  • last_updated (String)
  • safe_type (String) Should always be PAM_SAFE for sync policy.