Azure-Samples / Azure-Samples/netaivideoanalyzer
OpenAI resources failed to list keys on the portal
- Dominant language
- C#
- Stars
- 30
- Forks
- 14
- PR merge metrics
- No merged PRs in 30d
Description
**Description**
When adding the user secrets, open openAi on the portal, click `Keys and Endpoint`, failed to list key, as follows:


**Repro steps**
1. Create a new Codespace.
2. Run `azd auth login`.
3. Run `azd up`(azd provision successful).
4. Open openAi on the portal -> click `Keys and Endpoint`.
**Expected behavior**
The keys of OpenAI can be listed on the portal.
**Suggestion**
There are two suggestions:
1. Change the value of `disableLocalAuth` to `false` in the `infra\openai\openai.module.bicep` file.
2. Add the command to get the keys of openAi in Readme.md:
```
az cognitiveservices account keys list --name "YourOpenAIResourceName" --resource-group "MyResourceGroup"
```
@elbruno and @hemarina for notification.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.