QuestionQ14

VerifiedGovernance, Safety & Risk Management

An engineer accidentally commits an API key to the repository by placing it in .claude/settings.json.

Which configuration design principle was breached?

Explanation

API keys are credentials and must not be committed to version-controlled configuration files, where repository access and history can expose them. They should be supplied securely at runtime, such as through a secret store or protected environment-based mechanism. Anthropic documents using a key helper that retrieves a key from a Vault secret for dynamic credentials.

Learn more

Community Discussion

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