how can i disable the flag in Encryption Policy - " Encrypt change data capture events and platform events "?
-
2Please add some context to your question? Briefly explain the use case to disable the Encryption Policy. Add some screen shots if possible. Before posting the question, did you do any research that could have led you to a possible solution. ?– GroundToCloudNov 21, 2022 at 16:47
1 Answer
You will need to change the metadata object PlatformEncryptionSettings, specifically the field enableEventBusEncryption
- Change in the UX (under
Setup | Encryption Policy
) and deployPlatformEncryptionSettings
to your VCS/target orgs or - Use the Metadata API and change
PlatformEncryptionSettings
programmatically
-
-
it is exactly where you showed it in your screen shot - the check box enables the field in
PlatformEncryptionSettings
– cropredyNov 29, 2022 at 18:38 -
I was not able to deploy the metadata when I include the
<enableEncryptFieldHistory>true</enableEncryptFieldHistory>
tag regardless if it is set to true or false. When I remove that link then it deploys; it seems like that setting is read-only after it is enabled. Jan 18 at 19:25 -
@JasonHartfield - interesting - what version of the metadata API did you use?– cropredyJan 18 at 23:28
-
@cropredy I used version 56. I also opened a case with support and they told me there was no way to disable it. Feb 1 at 15:11