Terminology Index
Glossary
1801 terms
Showing 737-768 of 1801 terms
Hardcoded Keys
Cryptographic keys or secrets embedded directly in source code or configuration, a serious mistake because anyone who can read the code or binary can extract them, defeating the encryption they were meant to provide.
Hardcoding keys, putting an encryption key, API secret, or password straight into source or config, is a common and dangerous anti-pattern. The key travels everywhere the code does (repositories, binaries, backups), so it is easily discovered and cannot be rotated without a code change. Secure practice keeps keys out of code entirely, using secrets managers, key vaults, or environment injection, so cryptography's security does not collapse to 'whoever can read the code.'
Introduced in: Cryptography Essentials
Examples
- An API key committed directly into a source-code repository.
- An encryption key embedded in a binary that anyone can extract.
- Replacing a hardcoded secret with retrieval from a secrets manager.
No related terms linked yet.
