Azure-Samples / azure-search-openai-demo-java

This repo is the Java version of Microsoft's sample app for ChatGPT + Enterprise data.
MIT License
67 stars 66 forks source link

Keys should not be stored in azd environments or outputted in bicep #56

Closed jongio closed 3 months ago

jongio commented 7 months ago

This repo outputs the openAI key here: https://github.com/Azure-Samples/azure-search-openai-demo/blob/main/infra/main.bicep#L392

That will add the secret to the Azure deployment and it will add the secret to the azd environment in clear text.

jongio commented 7 months ago

Related https://github.com/Azure-Samples/azure-search-openai-demo/issues/919

github-actions[bot] commented 5 months ago

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this issue will be closed.

dantelmomsft commented 3 months ago

open api key usage has been deleted. Only Azure Open AI with managed identity is supported