Skip to main content

Clayton Rules - Hardcoded secret

David Martin avatar
Written by David Martin
Updated over 3 weeks ago

Rationale

A recurring problem when developing applications is that people may accidentally hardcode and commit secrets to their remote Git repositories. Secrets include keys, passwords, API tokens, IPs, and other sensitive information. Secrets exposed in this way must be treated as compromised and replaced, which can be costly.

Scope

  • Apex

  • LWC

  • Aura

See also


​

Did this answer your question?