Comments (4)
Kindly share output of "azcopy env" as well.
from azure-storage-azcopy.
Just chiming in, this looks wrong:
# In an ACI container with an associated USer-Assigned identity
$env:AZCOPY_AUTO_LOGIN_TYPE = "AZCLI"
az login --identity
azcopy copy "https://[account].blob.core.windows.net/[container]/[path/to/blob]?[SAS]" "https://[account].blob.core.windows.net/[container]/[path/to/blob]"
--identity refers to MSI, but $env:AZCOPY_AUTO_LOGIN_TYPE is a completely different type of auth, and the latter here means azcopy login
is unnecessary.
from azure-storage-azcopy.
Just chiming in, this looks wrong:
# In an ACI container with an associated USer-Assigned identity $env:AZCOPY_AUTO_LOGIN_TYPE = "AZCLI" az login --identity azcopy copy "https://[account].blob.core.windows.net/[container]/[path/to/blob]?[SAS]" "https://[account].blob.core.windows.net/[container]/[path/to/blob]"
--identity refers to MSI, but $env:AZCOPY_AUTO_LOGIN_TYPE is a completely different type of auth, and the latter here means
azcopy login
is unnecessary.
That snippet is just a minimal repro, in my actual script I need az login
for unrelated reasons. Then I set $env:AZCOPY_AUTO_LOGIN_TYPE = "AZCLI"
so that azcopy
can use the token acquired by az
, rather than needlessly asking for another one.
from azure-storage-azcopy.
Kindly share output of "azcopy env" as well.
I already switched to MSI auth, I'll see if I get the time to revert and check, but may I suggest you add this requirement to the "new issue" template?
from azure-storage-azcopy.
Related Issues (20)
- azcopy jobs list command is broken HOT 9
- AzCopy sync with hash-meta-dir hides original files HOT 6
- azcopy download shuffles lines on windows but works on linux HOT 5
- AzCopy fails to write xattr HOT 9
- Azcopy blob download of case sensitive files to local case sensitive fs fails on mac os. HOT 5
- Azcopy fails on copy operation from onprem server to azure blob storage for some files HOT 2
- Which permissions are required by `--overwrite=false`? HOT 4
- Documentation does not indicate the maximum file size handled by Azcopyv10 HOT 1
- Error while copying data from ADLS to ADLS in azure HOT 5
- Login timeout HOT 4
- RESPONSE Status: 500 Operation could not be completed within the specified time HOT 6
- Panic error in using user-managed identity HOT 1
- AzCopy Azure government - Copy finish sucessfully but some operations return 401 Server failed to authenticate the request HOT 3
- AZCOPY_AUTO_LOGIN_TYPE="MSI" fails due to host port number interfering with trusted domain suffix detection HOT 1
- Is it possible to skip scanning of the excluded folders? HOT 1
- How to disable auto update HOT 1
- AZCopy finishes successfully, although an AuthorizationFailure and a Cancelled job status were reported. HOT 2
- AADSTS90055: The server has terminated the request due to excessive request rate. Please wait a few seconds and try again HOT 1
- Missing from Debian 12 apt packages HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from azure-storage-azcopy.