Managing User Secrets

แชร์
ฝัง
  • เผยแพร่เมื่อ 21 ส.ค. 2024
  • In this episode, Robert is joined by Andrew Cheung ( / andrewcmsft ) and Alicia Chan, who show how Visual Studio can help you stop storing sensitive data like connection strings and other user secrets in your code. They show how to store secrets locally in json or XML files and how to store them in Azure Key Vault.
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 19

  • @shashirama2204
    @shashirama2204 5 ปีที่แล้ว +13

    Whats wrong??. confusing (jumping everywhere, too fast, no proper begin and end). Thank you Robert for asking them to show some details.

  • @SeanMcDonnellIE
    @SeanMcDonnellIE 6 ปีที่แล้ว +12

    This feature is really frustrating that the only option for a key vault is Azure. I work in a large company with literally 1000+ .NET developers. We don't use Azure. Most users only care about securing the contents of a config / appSettings. We want the equivalent of web.config encrypted sections in. NET core.

    • @AhmedBaGaLaTy
      @AhmedBaGaLaTy 2 ปีที่แล้ว

      That exactly what we need, How to make it secret ? Any user still can get secret.json file from his local machine, and not encrypted!!
      How to encrypt secret or appsettings files to make it secret :D ?

  • @JeremyC
    @JeremyC 6 ปีที่แล้ว +6

    What if we publish the project onto our own server? Does the Key Vault still work with a published project?

  • @mrwuhaibei
    @mrwuhaibei 5 ปีที่แล้ว +2

    Demo is a bit confused. I was expecting to see the connection string display in the page. Because we want to approve the config value can be read from azure key vault service.

  • @frankhaugen
    @frankhaugen 5 ปีที่แล้ว +3

    What is up with all of these web applications? How about a good old-fashioned desktop application? (console and/or WPF)

  • @kbdavis0007
    @kbdavis0007 4 ปีที่แล้ว +2

    How do you use this with non azure hosting providers?

  • @DorianC
    @DorianC 9 หลายเดือนก่อน

    Anyone know how to add a nested secret to Azure? For example if I have a secret called NestedSecret, but my azure app needs to access it through its parent, how can I do that in Azure?

  • @samk7373
    @samk7373 4 ปีที่แล้ว

    and where will you store the secret of the Vault when you deploy to production?

  • @AndyNicholson
    @AndyNicholson 5 ปีที่แล้ว +1

    Sooooo, this doesn't work?
    I did the same as you did, created a new project, went to "Manage User Secrets", create an entry and then try to use the "@config..." but errors with "the name config doesn't exist in the current context" and doesn't give me anything useful. Then you skipped straight on to Azure stuff, isn't there another part of the setup you've missed?
    Really, really confused.

    • @RonStack
      @RonStack 5 ปีที่แล้ว

      I'm experiencing the same thing. Have you found a solution?

    • @edwardmullan2724
      @edwardmullan2724 4 ปีที่แล้ว

      You would have to initialise the Config object in the Startup class. This video: th-cam.com/video/m_BevGi7zBw/w-d-xo.html gives a good step by step.

  • @SiegfriedFarnonMRCVS
    @SiegfriedFarnonMRCVS 4 ปีที่แล้ว +3

    soooo badly explained...presenters not thinking at all what the user wants to see...Agree, the host did a good job of stopping them and getting them to explain..still really bad

  • @AZ-bu7ss
    @AZ-bu7ss 5 ปีที่แล้ว

    like for intro!!! and for episode of course

  • @dotnetdevni
    @dotnetdevni 3 ปีที่แล้ว +1

    Again forces us to use azure

  • @saddlebear
    @saddlebear 4 ปีที่แล้ว

    Kind of glossed over the "magic" of production and development credentials to access Key Vault.

  • @dheeraj0076
    @dheeraj0076 3 ปีที่แล้ว +1

    Poorly explained topic with lot of jumps around. If someone is reading and monitoring comments, please explain to these guys that someone would watch this presentations and viewers need to understand it rather than you guys show your skills of playing with your mouse and keyboard at lighting speed.

  • @dotnetdevni
    @dotnetdevni 3 ปีที่แล้ว

    This is only good for development though