Manage API environment variables safely with separate base URLs and credentials, explicit precedence, secret handling, and release checks.