Made a minor refinement by removing 'API' from 'protected custom metadata API fields' since the term was redundant - custom metadata fields accessed via Apex are inherently API fields, and the simpler term 'protected custom metadata fields' is clearer and more commonly used in Salesforce documentation.
The selected security rules are highly relevant to this FAQ content:
- ApexSuggestUsingNamedCred: This rule suggests using Named Credentials instead of hardcoding credentials, which directly relates to the FAQ's discussion of securely storing third-party integration keys
- AvoidHardcodedCredentialsInFieldDecls, AvoidHardcodedCredentialsInVarAssign, AvoidHardcodedCredentialsInVarDecls: These rules prevent hardcoding credentials in various Apex contexts, which aligns with the FAQ's guidance on proper secure storage of integration keys rather than hardcoding them
- ProtectSensitiveData: This rule focuses on protecting sensitive information, which directly applies to the FAQ's discussion of encrypting and securely storing third-party integration keys
- ApexBadCrypto: This rule addresses proper cryptographic practices in Apex, which relates to the FAQ's recommendation to 'encrypt the integration keys using Apex Crypto calls'