GithubHelp home page GithubHelp logo

Comments (6)

jsquire avatar jsquire commented on September 24, 2024

Thank you for your feedback. Tagging and routing to the team member best able to assist.

from azure-sdk-for-net.

christothes avatar christothes commented on September 24, 2024

Hi @nschuessler - Your choice of credential is dependent on which identity you want to authenticate with. If, for example, you wanted to authenticate with some registered app, you could use ClientSecretCredential. In that case the app ID (ClientID) is what defines that registered app as the service principal. You'd need to grant RBAC access to the resource for that client ID. See this for more information.

ManagedIdentityCredential is only available when running on the deployed host environment.

from azure-sdk-for-net.

github-actions avatar github-actions commented on September 24, 2024

Hi @nschuessler. Thank you for opening this issue and giving us the opportunity to assist. To help our team better understand your issue and the details of your scenario please provide a response to the question asked above or the information requested above. This will help us more accurately address your issue.

from azure-sdk-for-net.

nschuessler avatar nschuessler commented on September 24, 2024

Basically, my scenario is I cannot attach debugger to a running production server because of network configuration. But by having resources available and pressing F5 in visual studio I would still like to manually inspect that code is working.

from azure-sdk-for-net.

christothes avatar christothes commented on September 24, 2024

You'll need to change the code to use a different credential type when running locally and the identity represented by that credential would need to have RBAC permissions to the resource. If your requirement is that it must be two different identities for accessing configuration and data, then you'll need two different identities for dev scenarios as well.

from azure-sdk-for-net.

github-actions avatar github-actions commented on September 24, 2024

Hi @nschuessler. Thank you for opening this issue and giving us the opportunity to assist. We believe that this has been addressed. If you feel that further discussion is needed, please add a comment with the text "/unresolve" to remove the "issue-addressed" label and continue the conversation.

from azure-sdk-for-net.

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.