Skip to content

Latest commit

 

History

History
12 lines (11 loc) · 713 Bytes

readme.md

File metadata and controls

12 lines (11 loc) · 713 Bytes

Follow steps: https://github.com/Azure/aad-pod-identity

  1. az identity create -g MC_aks-ot-rg_aahnl-kubernetes-ot_westeurope -n testrobert -o json (=resourcegroep van AKS, dan heeft AKS service principal al genoeg rechten. Andere resourcegroep, dan stap 6 uitvoeren: https://github.com/Azure/aad-pod-identity#6-set-permissions-for-mic)
  2. Rechten toekennen:
    • KeyVault:
      • Access policy toevoegen voor identity
    • Sql Azure:
      • CREATE USER [testrobert] FROM EXTERNAL PROVIDER;
      • ALTER ROLE db_datareader ADD MEMBER [testrobert];
      • ALTER ROLE db_datawriter ADD MEMBER [testrobert];
      • ALTER ROLE db_ddladmin DROP MEMBER [testrobert]; -- Om migrations te kunnen runnen