Please refer to the following steps to obtain the OpenAI secret key.
Step1: Log in your OpenAI account: https://platform.openai.com/docs/overview
Step2: Click Dashboard, and then click API keys, after that click Create new secret key
Step3: Fill in Name, select project, set permission as All, and then click Create secret key
Step4: The secret key was created successfully