Used azcopy login -identity on arc machine and that worked.
How to upload a blob from an Arc machine whose managed identity has blob contributor access?
I'm trying to upload a blob using the managed identity(that was given blob contributor access to a blob container) and NOT account key or SAS.
I've successfully created an access token. I've also done a "connect-azaccount -identity", but every thing I google for how to upload a blob says I need an SAS or storage key. How can I upload a blob without an SAS or account key?
edit: using azcopy is the answer
2 answers
Sort by: Most helpful
-
-
KarishmaTiwari-MSFT 20,052 Reputation points Microsoft Employee
2024-07-17T03:07:55.82+00:00 I'm glad that you were able to resolve your issue and thank you for posting your solution so that others experiencing the same thing can easily reference this!
Since the Microsoft Q&A community has a policy that "The question author cannot accept their own answer. They can only accept answers by others ", I'll repost your solution in case you'd like to "Accept " the answer. Accepted answers show up at the top, resulting in improved discoverability for others.
Issue: How to upload a blob from an Arc machine whose managed identity has blob contributor access?
Solution: Used azcopy login -identity on arc machine and that worked.
If your issue remains unresolved or have further questions, please let us know in the comments how we can assist. We are here to help you and strive to make your experience better and greatly value your feedback.