GithubHelp home page GithubHelp logo

Authentication using SharedKeyCredential throws an error when correct username and wrong secret key is given but getting stuck when wrong account name is given about azure-storage-blob-go HOT 5 CLOSED

azure avatar azure commented on August 21, 2024
Authentication using SharedKeyCredential throws an error when correct username and wrong secret key is given but getting stuck when wrong account name is given

from azure-storage-blob-go.

Comments (5)

zezha-msft avatar zezha-msft commented on August 21, 2024

Hi @jhendrixMSFT, thanks for letting us know!

This is a known issue. Basically, if the account name is wrong, a DNS error is returned. We retry this type of error, since it might be temporary as well. We don't have a better solution right now, but we are open to suggestions!

from azure-storage-blob-go.

jhendrixMSFT avatar jhendrixMSFT commented on August 21, 2024

@PreethamTK who opened the original issue.

from azure-storage-blob-go.

PreethamTK avatar PreethamTK commented on August 21, 2024

Is there any better way to check credentials then ?

from azure-storage-blob-go.

zezha-msft avatar zezha-msft commented on August 21, 2024

Hi @PreethamTK, what do you mean?

If an account doesn't exist, we get a DNS error, which is the exact same error if the DNS server was misbehaving, so we couldn't really tell whether an account is really non-existent. On the other hand, if an account key is wrong, we know for sure since a 403 is returned from the service.

from azure-storage-blob-go.

zezha-msft avatar zezha-msft commented on August 21, 2024

@PreethamTK I'm closing this for now, but please let me know if you have any other question.

from azure-storage-blob-go.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.