File tree Expand file tree Collapse file tree 4 files changed +14
-1
lines changed
Expand file tree Collapse file tree 4 files changed +14
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ param keyVaultReaders array
88param isManagedApplication bool
99param managedResourceGroupName string
1010param appConfigurationName string
11+ param authenticationType string
1112
1213// prereqs parameters
1314// parameters for prereqs key vault
@@ -115,6 +116,7 @@ module dataResources 'dataResources.bicep' = {
115116 sqlSkuName : sqlSkuName
116117 sqlSkuTier : sqlSkuTier
117118 tenantId : tenantId
119+ authenticationType : authenticationType
118120 }
119121 dependsOn : [
120122 prereqResources
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ param sqlSkuFamily string
1212param sqlSkuName string
1313param sqlSkuTier string
1414param tenantId string
15+ param authenticationType string
1516
1617//data resources
1718module dataInfrastructureTemplate '../Infrastructure/data/template.bicep' = {
@@ -31,5 +32,6 @@ module dataInfrastructureTemplate '../Infrastructure/data/template.bicep' = {
3132 sqlSkuName : sqlSkuName
3233 sqlSkuTier : sqlSkuTier
3334 tenantId : tenantId
35+ authenticationType : authenticationType
3436 }
3537}
Original file line number Diff line number Diff line change @@ -11,7 +11,12 @@ param appConfigurationName string = '${solutionAbbreviation}-appConfig-${environ
1111param appConfigurationDataOwners array
1212@description ('Must be true for the initial deployment' )
1313param grantAppConfigurationDataOwnersPermission bool = true
14-
14+ @allowed ([
15+ 'UserAssignedManagedIdentity'
16+ 'ClientSecret'
17+ 'Certificate'
18+ ])
19+ param authenticationType string
1520// prereqs parameters
1621// parameters for prereqs key vault
1722param graphAppCertificateName string = 'not-set'
@@ -124,6 +129,7 @@ module gmmResources 'commonResources.bicep' = {
124129 pipeline : pipeline
125130 skipADFDeployment : skipADFDeployment
126131 appConfigurationName : appConfigurationName
132+ authenticationType : authenticationType
127133 }
128134 dependsOn : [
129135 gmmResourceGroups
Original file line number Diff line number Diff line change 162162 "principalType" : " Device|ForeignGroup|Group|ServicePrincipal|User"
163163 }
164164 ]
165+ },
166+ "authenticationType" :{
167+ "value" : " UserAssignedManagedIdentity|ClientSecret|'Certificate"
165168 }
166169 }
167170}
You can’t perform that action at this time.
0 commit comments