-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Closed
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamStorageaz storageaz storagecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-triageThis is a new issue that needs to be triaged to the appropriate team.This is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that
Milestone
Description
Type of issue
Other (describe below)
Reference command name
az storage blob sync
Feedback
I don't understand this. I have the Azure cli 2.59.0 installed in my cluster:
azure-cli 2.59.0 *
core 2.59.0 *
telemetry 1.1.0
Dependencies:
msal 1.27.0
azure-mgmt-resource 23.1.0b2
Python location '/opt/az/bin/python3'
Extensions directory '/home/agent/.azure/cliextensions'
Python (Linux) 3.11.8 (main, Mar 27 2024, 04:03:04) [GCC 11.4.0]
Legal docs and information: aka.ms/AzureCliLegal
The storage bloc sync doesn't have the option --auth-mode, which is available since version 2.33.0:
$> az storage blob sync --help
Command
az storage blob sync : Sync blobs recursively to a storage blob container.
This command is in preview and under development. Reference and support levels:
https://aka.ms/CLI_refstatus
Arguments
--container -c [Required] : The sync destination container.
--source -s [Required] : The source file path to sync from.
--destination -d : The destination path that will be prepended to the blob name.
But it is On my laptop (MacOS). I have the Azure-cli 2.70.0, and the argument exists:
$> az storage blob sync --help
Command
az storage blob sync : Sync blobs recursively to a storage blob container.
This command is in preview and under development. Reference and support levels:
https://aka.ms/CLI_refstatus
Arguments
--container -c [Required] : The sync destination container.
--source -s [Required] : The source file path to sync from.
--auth-mode : The mode in which to run the command. "login" mode will
directly use your login credentials for the authentication. The
legacy "key" mode will attempt to query for an account key if
no authentication parameters for the account are provided.
Environment variable: AZURE_STORAGE_AUTH_MODE. Allowed values:
key, login.
--destination -d : The destination path that will be prepended to the blob name.
Has the Ubuntu/Debian distribution of Azure-cli not been updated?
I am trying to access a Storage Account using Azure AD RBAC.
Thanks
Page URL
https://learn.microsoft.com/en-us/cli/azure/storage/blob?view=azure-cli-latest#az-storage-blob-sync
Content source URL
No response
Author
No response
Document Id
No response
Reactions are currently unavailable
Metadata
Metadata
Labels
Auto-AssignAuto assign by botAuto assign by botAuto-ResolveAuto resolve by botAuto resolve by botAzure CLI TeamThe command of the issue is owned by Azure CLI teamThe command of the issue is owned by Azure CLI teamStorageaz storageaz storagecustomer-reportedIssues that are reported by GitHub users external to the Azure organization.Issues that are reported by GitHub users external to the Azure organization.needs-triageThis is a new issue that needs to be triaged to the appropriate team.This is a new issue that needs to be triaged to the appropriate team.questionThe issue doesn't require a change to the product in order to be resolved. Most issues start as thatThe issue doesn't require a change to the product in order to be resolved. Most issues start as that