Azure Powershell - automating Login-AzureRmAccount AD Login - for Azure function

前端 未结 3 1030
耶瑟儿~
耶瑟儿~ 2021-01-13 06:31

I have this Azure Powershell script, which successfully backs up a SQL Azure DB to Azure Blob.

In its current form, it requires me to log in via AD.

I now n

3条回答
  •  温柔的废话
    2021-01-13 07:14

    1. Yes, you can use that route, or use certificate auth, or use an Azure AD user, it can login with user\password, but is considered less secure than service principal.
    2. Yes, you can use one service principal for any number of Azure Functions you would like to.

提交回复
热议问题