The DeployHQ Blog

You’ll find product updates, tips/tricks, tutorials, and more. Please take a moment to take a look at our most popular posts below.

All posts

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.

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