QuestionQ134

VerifiedIntegrating with Salesforce: Security

A company’s security assessment identified vulnerabilities in the unmanaged packages in its Salesforce orgs, particularly secrets that are readily accessible in plain text, including usernames, passwords, and OAuth tokens used for callouts from Salesforce.

Which persistence mechanisms should an integration architect mandate to ensure secrets are protected from intentional or accidental exposure?

Explanation

Named Credentials centralize callout endpoints and authentication so credentials are not hard-coded or stored in plain text; Salesforce stores populated access tokens in encrypted credential storage. Protected Custom Metadata Types can protect application secrets from subscriber access when included in a managed package. Salesforce notes that protected custom metadata in an unmanaged package behaves as public, so secrets requiring that protection must be moved into a managed package.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!