how to transfer file from VM to storage account via service principal?

Huang, Winston-HR 280 Reputation points
2024-03-22T10:01:55.45+00:00

i want to user azcopy to copy transfer files from VM to storage account via service principals. can you give me some advices? thanks~

i has completed task as below:

  1. has created new service principals ,and granted access right of storage account by ACL
  2. created new azure key vault, create new secrets on key vault, and save value of secret of service principal on Secret scopes.
  3. has grant get/list permission of key vault to service principal.
  4. has added VM's Vnet/subnet to key vault's whitelist.

any more action is i need to do? for VM, what is need to do more?

Azure Key Vault
Azure Key Vault
An Azure service that is used to manage and protect cryptographic keys and other secrets used by cloud apps and services.
1,118 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,143 questions
Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
19,514 questions
{count} votes

0 additional answers

Sort by: Most helpful