Azure-Samples / Azure-Samples/KeyVault-Rotation-SQLPassword-Csharp

Is this JSON relevant?

Aperta
#2 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
C#
Stelle
11
Fork
18
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

### This issue is for a: (mark with an `x`)
```
- [ ] bug report -> please search issues before submitting
- [ ] feature request
- [X] documentation issue or request
- [ ] regression (a behavior that used to work and stopped in a new release)
```

Does the [following JSON](https://github.com/Azure-Samples/KeyVault-Rotation-SQLPassword-Csharp/blob/main/ARM-Templates/Add-Event-Subscriptions/azuredeploy.json#L35-L45) matter in this sample:

```json
"type": "Microsoft.Sql/servers/providers/roleAssignments",
"apiVersion": "2018-09-01-preview",
"name": "[concat(parameters('sqlServerName'), '/Microsoft.Authorization/', guid(uniqueString(parameters('sqlServerName'))))]",
"dependsOn": [
"[resourceId('Microsoft.Web/sites', parameters('functionAppName'))]"
],
"properties": {
"roleDefinitionId": "[concat('/subscriptions/', subscription().subscriptionId, '/providers/Microsoft.Authorization/roleDefinitions/', '6d8ee4ec-f05a-4a1d-8b00-a9b17e38b437')]",
"principalId": "[reference(resourceId('Microsoft.Web/sites', parameters('functionAppName')),'2019-08-01', 'Full').identity.principalId]"
}
},
```

It doesn't seem like the role is needed anywhere.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.