CCDV-F practice › Security and Safety · Question 27 of 92

Security and Safety

Where should a production application's Claude API key actually live?

Show answer and explanation

Answer: C — Server-side, in an environment variable or secret manager, with routine rotation

API keys are credentials, not content — they belong server-side in a secret manager or environment variable, never in client-side code or anywhere the model itself could read or leak them, and should be rotated routinely.