How to upload a blob from an Arc machine whose managed identity has blob contributor access?

Jonathan Posey 0 Reputation points
2024-07-16T00:00:54.6033333+00:00

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

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,018 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Jonathan Posey 0 Reputation points
    2024-07-16T00:28:20.35+00:00

    Used azcopy login -identity on arc machine and that worked.

    0 comments No comments

  2. KarishmaTiwari-MSFT 19,537 Reputation points Microsoft Employee
    2024-07-17T03:07:55.82+00:00

    @Jonathan Posey

    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.User's image

    0 comments No comments