File tree Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Expand file tree Collapse file tree 1 file changed +2
-5
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ param location string = resourceGroup().location
5
5
param tags object = {}
6
6
@description ('The custom subdomain name used to access the API. Defaults to the value of the name parameter.' )
7
7
param customSubDomainName string = aiServiceName
8
- param disableLocalAuth bool = false
8
+ param disableLocalAuth bool = true
9
9
param deployments array = []
10
10
param appInsightsId string
11
11
param appInsightConnectionString string
@@ -51,16 +51,13 @@ resource aiServiceConnection 'Microsoft.CognitiveServices/accounts/connections@2
51
51
parent : account
52
52
properties : {
53
53
category : 'AzureOpenAI'
54
- authType : 'ApiKey '
54
+ authType : 'AAD '
55
55
isSharedToAll : true
56
56
target : account .properties .endpoints ['OpenAI Language Model Instance API' ]
57
57
metadata : {
58
58
ApiType : 'azure'
59
59
ResourceId : account .id
60
60
}
61
- credentials : {
62
- key : account .listKeys ().key1
63
- }
64
61
}
65
62
}
66
63
You can’t perform that action at this time.
0 commit comments