I suppose you have a Windows machine and a Linux machine. You want to get a blob directly from Blob storage to the Linux machine. | Je suppose ici qu’on a une machine Windows et une machine Linux. On veut r%u00e9cup%u00e9rer un blob directement du blob storage %u00e0 la machine Linux. |
On the Windows machine, use a tool like CloudXplorer to create a Shared Access Signature. | Sur la machine Windows, utiliser un outil tel que CloudXplorer pour cr%u00e9er une Shared Access Signature. |
copy the shared access signature which is a URL with authorization to download the private blob. Check the start date, don’t add more time than 1 hour for the authorized download window (that would require a policy at the container level, which is more complicated). |
copier la shared access signature qui est une URL qui inclut une autorisation de t%u00e9l%u00e9charger le blob priv%u00e9. Cocher la date de d%u00e9part, ne pas ajouter plus qu’une heure pour la fen%u00eatre de t%u00e9l%u00e9chargement autoris%u00e9e (on aurait besoin d’une r%u00e8gle au niveau conteneur, ce qui est un peu plus compliqu%u00e9) |
On the Linux machine, paste that URL in a curl command like below: | Sur la machine Linux, coller l’URL dans une commande curl tel que ci-dessous: |
This technique could also be used to upload blobs, by creating a write shared access signature and use HTTP PUT instead of GET. | Cette technique peut aussi %u00eatre utilis%u00e9e pour charger vers des blobs, en cr%u00e9ant une shared access signature en %u00e9criture et en utilisant HTTP PUT au lieu de GET. |
Benjamin
Blog Post by: Benjamin GUINEBERTIERE