You know how I know you're a vibe code: your API keys are in your code.
malgineer | Software Engineer
Visit on TikTok@aikware1.3K followers
28,300 views #vibecoding #softwareengineer #learntocode
You know how I know you're a vibe code: your API keys are in your code. How to hide API keys with .env files — and why a secrets manager is even better — before you get a surprise bill 👇 Senior software engineer here. If AI wrote your app, check this tonight: keys in a .env file, .env in your .gitignore, secrets on the server — and if you already pushed one, revoke it and generate a new one. .env is the minimum. A secrets manager is the upgrade: your keys are encrypted, only the services that need them can read them, every access is logged, and you can rotate a key without redeploying. Options: AWS Secrets Manager, Google Secret Manager, Azure Key Vault, Doppler, Infisical, or HashiCorp Vault. What should I call out next?? #vibecoding #softwareengineer #learntocode #webdevelopment #codingtips
Comments
Comments from the original post on TikTok
No comments yet
