Security is critical when building with the OpenAI API — a leaked key means unlimited charges on your account.
Reference:
Production best practices
TaskLoco™ — The Sticky Note GOAT