📖 Step 8: Deploy & Launch#470 / 498

Secrets Management

Secrets Management

📖One-line summary

Keeping sensitive values like API keys and DB passwords out of code and storing and injecting them safely.

✨Example

🚀

시크릿 관리

API 키·DB 비밀번호 같은 민감한 값을 코드에 넣지 않고 안전하게 보관·주입하는 것

⚡Vibe coding prompt examples

>_

Find every hardcoded API key in the project, move them to .env.local, and tidy up .gitignore and .env.example.

>_

Variables prefixed with NEXT_PUBLIC_ are exposed to the browser in Next.js. Check whether any keys in our code shouldn't be.

>_

I accidentally pushed an API key to GitHub. Walk me through revoking it, issuing a new one, and cleaning the git history.

Try these prompts in your AI coding assistant!