Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [platform-encryption]

Platform Encryption lets you encrypt data nativity on the salesforce platform.

1
vote
1answer
30 views

Any way out of “Encryption can't be enabled for fields referenced in the custom formula fields”?

I have a formula field based on a date field, and I want to have the date field encrypted using Shield Platform Encryption. But when I try to turn the encryption on I get: Error on fields update ...
1
vote
2answers
78 views

Case Insensitive - GA Summer 19?

I have been doing some digging on case Insensitive encryption. I am reading this: Get Exact Matching with Case-Insensitive Deterministic Encryption (Generally Available) And it looks like this ...
5
votes
1answer
49 views

Platform encryption scratch org errors “common.exception.SfdcSqlException: ORA-00932: inconsistent datatypes: expected CHAR got DATE”

For the past couple of weeks our Continuous Integration (CI) build that uses SFDX and scratch orgs has had most of its queries failing for the Platform Encryption org with this error: common....
1
vote
1answer
41 views

See reason why records failed to encrypt

I am going through an encryption effort in a SF sandbox. While encrypting, I noticed a few inconsistencies. For example, I got an email mentioning: Sandbox: Unable to Complete Encryption Task. I am ...
0
votes
1answer
20 views

Loading Encrypted Records

I have been looking to see what other people have experienced regarding loading records into an environment with encryption enabled. If I were to use a tool such as DBamp, to load records into an an ...
0
votes
1answer
28 views

Encrypt Formula Fields with Platform Encryptiion

Are any types formula fields able to be encrypted via platform encryption? I have been looking for options, and so far, I have been unsuccessful in locating any documentation. If not, what have you ...
0
votes
2answers
47 views

Encryption Impact - Enabling Encryption vs Encrypting Data

This is more of a curiosity question. I have went through and encrypted ~50 fields in a sandbox with existing data. There are more fields I would like to encrypt, but they will take some more work ...
0
votes
1answer
21 views

Encryption Question regarding SF generating Tenant Secret

From a testing perspective for platform encryptuion, if I follow this article, and hit the "generate tenant secret" button, am I good to start encrypting? In the BYOK documentation, it mentions ...
1
vote
1answer
67 views

Salesforce BYOK Strategy

So - I have been doing research regarding Salesforce platform encryption, and am struggling to find the actual "button pushing" steps to accomplish the BYOK plan. Please correct these following steps ...
0
votes
1answer
23 views

Supported Encryption Operators/Functions

I have been looking into supported operators and functions within Salesforce, and found this list: Supported Operators, Functions, and Actions Supported operators and functions: & and + (...
0
votes
0answers
28 views

Store Credit Card information in Account Object in Salesforce

I wanted to check if we can store CredtiCard information (Using Encrypted Field) on Account Object in Salesforce and would it still be PCI Compliant? Thanks Ritu
3
votes
1answer
47 views

Does Case-Insensitive Deterministic Encryption support SOQL LIKE and STARTS WITH statements?

The current Salesforce documentation states that deterministic encryption only supports exact, case-sensitive matches. This is why comparison operators that return partial matches aren't supported. ...
1
vote
1answer
80 views

What does “at rest” mean involving data encryption?

I've been reading the Salesforce Security Guide and it mentions involving Salesforce Shield and Platform Encryption that it allows you to natively encrypt your most sensitive data at rest across ...
0
votes
0answers
26 views

3 States of Data - Encryption

Three part question about encryption in the 3 data states: In-Transit In-Use At-Rest What types of Encryption does Salesforce offer in these 3 states? Feel free to break it up further in to finer ...
2
votes
2answers
173 views

How can I test to see if a field is encrypted using Shield Platform Encryption?

If I encrypt fields with the Platform Shield Encryption, but still see the fields when I'm a different user how can I test to see if the encryption is working? I understand it encrypts at rest so I ...
2
votes
1answer
141 views

Is it possible to perform HMAC SHA1 encoding with Ampscript?

Is it possible to do this with Ampscript? Is it possible to achieve this with SSJS? I understand there is an apex function that can do this, but I am not sure it is possible to use apex with ...
0
votes
1answer
57 views

How to check if a field is encryptable

i want something like a report for all my fields in the org if they are encrytable or not and i want to know if they are encrypted currently. By the getDescribe method i can detect if a field is ...
0
votes
2answers
387 views

What is the impact of encrypting all fields using Salesforce Shield / Platform Encryption

Why wouldn't someone decide to encrypt all the fields using Salesforce Shield?
1
vote
1answer
289 views

Why can I still see encrypted data?

I have enabled Salesforce Shield in a developer org of mine, checked "Encrypted" in the custom field definition detail, and proceeded to update a record with a new value in the encrypted field. I ...
2
votes
1answer
58 views

DescribeFieldResult Class doesn't have encryption and masking methods

Unable to find any method for field encryption and field masking in DescribeFieldResult Class. Methods like getMaskType, getMask, isEncrypted are working with DescribeFieldResult. Is there any ...
3
votes
1answer
191 views

How to Enable Platform Encryption in a non-Developer edition Scratch Org?

I've been using this sample project & guide to test Platform Encryption with Salesforce DX. However, the example project-scratch-def.json creates a Developer org ("edition": "Developer"). As ...
1
vote
1answer
69 views

Difference between Encrypted Tenant Secret and Hashed Tenant Secret in Platform Encryption

What is the Difference between Encrypted Tenant Secret and Hashed Tenant Secret in Platform Encryption when we click on Upload Tenant Secret. Also we have third party Tenant Wrapping key so would ...
2
votes
1answer
113 views

How to encrypt the AuthProvider consumerSecret via the metadata api?

AuthProvider specifies that when creating an auth provider you need to encrypt the consumerSecret. It then specifies that this can be done via a manual process using an outbound change set. When ...
3
votes
1answer
62 views

How to Generate/Read BYOK-Compatible Certificate from Apex code

How can we read BYOK Compatible certificates present in Salesfoce using Apex (or SF REST APIs). Also is there any way to generate BYOK Compatible certificate using Apex code or SF REST APIs. I ...
-2
votes
1answer
126 views

Convert Java encryption code to Apex

I would like to translate this method into java for apex. Tried in different ways and could not :/ public static String encodeString(String stringToEncode, String secret) throws Exception { byte[]...
4
votes
2answers
233 views

Platform encryption - Rollup Helper managed package SOQL WHERE clause issue

In my sandbox, Rollup helper managed package has been used. When try to encrypt Contact Name field by Platform encryption, System is unable to encrypt because in one of the classes is having SOQL ...
0
votes
1answer
107 views

How do I get value of Tenant Secret Key by Apex Code?

My manager claims that Salesforce has very weak and limited support of cryptography and encryption. I want to disprove this statement and prove that we could, for example, implement some custom ...
0
votes
2answers
316 views

How do I platform encrypt custom field from managed package?

I don't see custom fields in Platform Encryption Encrypt Fields window. I know that I can also encrypt only custom fields of these types Email Phone Text Text Area Text Area (Long) URL Date Date/...
0
votes
1answer
164 views

Platform Encryption - Encryption at Rest

I have enabled platform encryption at my DE and selected Case Subject, Description and Comments to be encrypted. I have a created a sample case with these values: And when I query from Developer ...
1
vote
1answer
60 views

Platform Encryption want to encrypt manged Objec's Field [closed]

Well we have a managed packaged installed , WE did necessary setup required for encryption. Now I can able to encrypt custom fields out side the manage package but , system do not display where to ...
0
votes
1answer
141 views

Shield encryption on long text that stores JSON

I have to store json data in long text fields and I have to encrypt said fields with Salesforce Shield. I've heard that data clipping might occur in this case. Is this true? I couldn't find any doc ...
0
votes
0answers
73 views

Shield Platform Encryption

I was trying to implement Platform encryption in my org. Salesforce does not encrypt a field if it is referenced in where clause of a soql in a class and send you an email stating that field can not ...
1
vote
1answer
138 views

Shield: Encrypted Fields not encrypted

I have enabled platform encryption in a sandbox, and chosen to encrypt a few fields in the Contact object. However, when a user without the "View Encrypted Data" permission views a contact record, ...
0
votes
2answers
137 views

Benefits of using customer supplied tenant secret in Platform encryption

Shield Platform encryption provides 2 options for tenant secrets.Customer-supplied tenant secret upload(BYOK) and On-demand tenant secret generation. I am looking for advantages of BYOK over on-demand ...
1
vote
0answers
51 views

Tokenization settings in Salesforce marketing cloud [duplicate]

I am having encrypted data in SFDC stored and using encryption/decryption gateway(cipher cloud) i am using the data to be transferred to marketing cloud, Using the tokenized setting , Email field will ...
1
vote
2answers
674 views

Salesforce shield and global search

If I enable Salesforce shield platform encryption and start encrypting standard and/or custom fields like Contact.LastName or Contact.Marital_Status__c for example. What will happen if I do a global ...
2
votes
1answer
420 views

Encrypted fields in Query

We enabled platform encryption and encrypted two standard fields, field1 and field2 for an object. We were querying the data from that object and using encrypted field for ordering the data by field1 ...
2
votes
2answers
1k views

Encrypted field is showing original value instead of showing masked value

I have enabled shield platform encryption in dev org. I have encrypted some of the standard fields like Account Name on Account Object and Email on Contact Object. The System Administrator does not ...
0
votes
1answer
162 views

Is it possible to use encrypted fields in filter criteria in list views and reports with shield platform after winter'17 release

In earlier versions, using encrypted fields in filter criteria in list views, reports and communities were not allowed. I want to know if encrypted fields in filter criteria are now available in list ...
1
vote
1answer
79 views

Working around platform encrypted managed custom fields in customer orgs

We are an ISV partner and have managed packages in customer orgs. We want to be able to know the encryption status of a field in the code before working with it so our package does not break in ...
1
vote
2answers
190 views

Platform Encryption in dev org

I turned on Platform Encryption in a Dev Org. I have one user who can Manage Encryption Keys and View Encrypted Data and another who cannot. Why can my user who cannot view encrypted data still view ...
0
votes
1answer
196 views

Can contact.BirthDate be encrypted in Platform Encryption?

Platofrm Encryption Documentation doesn't include "Birthdate" as one of the standard fields that can be encrypted and I don't see the option to encrypt the field in the org. Is there any way to ...
0
votes
1answer
66 views

Encrypting Contact.Name when using OWASP

We are looking into encrypting a contact.name field in an org that has OWASP installed. When trying to encrypt the field, we get the following error: Apex Class: testAccessController, line 137, ...
4
votes
1answer
839 views

Enabling Salesforce Shield Encryption for existing custom fields

How can I enable the shield encryption for existing custom fields in Salesforce? My org has an existing number field SSN__c which has to be encrypted using shield. If I edit the field and enable ...
0
votes
2answers
376 views

Error when encrypting fields using platform encryption on managed packages

We have enabled platform encryption for managed packages in a developer edition org. We then started encrypting custom fields in our managed package. We expect to receive an error when we try to ...
0
votes
1answer
113 views

Platform Encryption Implications on Data Import/ Export

I read here that "You can’t use the Data Import Wizard to perform matching using master-detail relationships or update records that contain encrypted fields. You can use it to add new records, however....
2
votes
0answers
40 views

Enabling Platform Encryption on two packages

We have two managed packages and one is the base package for the other and contains all the fields (no fields on the second package). We want to enable platform encryption on the fields of the base ...
1
vote
1answer
59 views

Check for particular permission is assigned to user

I know userId for an user, but unable to perform check for permission of View Encrypted Data. Multiple permission Sets are assigned to user. How to check for a particular permission??
6
votes
1answer
346 views

filter query doesn't work for Platform Encryption

i'm trying to perform Platform Encryption on contact fields : Phone, Fax, Email But i'm trying to filter MobilePhone in query SELECT MobilePhone FROM Contact WHERE MobilePhone != null getting ...
2
votes
0answers
88 views

How can we check if Name field of Account object encrypted?

There is 'isEncrypted()' method which when called on field of Contact object gives boolean result Boolean isFirstNameEncrypted = Contact.FirstName.getDescribe().isEncrypted(); But Same do not happen ...