Articles from 2024 - DeployHQ Blog

Displaying posts 3748 of 53 in total

How to Keep API Keys Out of Your Git Repository (With Code Examples)

One git push with a hardcoded API key can compromise your infrastructure. This guide covers .env file setup, language-specific examples, automated secret scanning with git-secrets and truffleHog, and how to deliver secrets to production safely with DeployHQ.