AzCopy v10 accepts two ways to provide authorization credentials: Microsoft Entra ID (azcopy login, a managed identity or a service principal) and a SAS token appended to the URL. It doesn't take a storage account access key directly; a key can only be used to generate a SAS. So any option that lists access keys is wrong. Blob storage supports both Entra ID (for example, Storage Blob Data Contributor for uploads) and SAS. For Azure Files, AzCopy commands that target files and directories, such as copying data into an existing share, now accept Microsoft Entra ID (Storage File Data Privileged Contributor for uploads, Storage File Data Privileged Reader for downloads) as well as SAS. A SAS is still required only for commands that target just the share or the account, such as azcopy make to create a share, or an account-to-account copy. So the answer for both storage types is Microsoft Entra ID and SAS.
Community Discussion