Auto-create and store API key