ExOpenAI.Config.api_key

You're seeing just the function api_key, go back to ExOpenAI.Config module for more information.