Microsoft Azure Managed Identity Deep Dive

Sdílet
Vložit
  • čas přidán 2. 07. 2024
  • A deep dive into using managed identities and understanding what makes them tick!
    🔎 Looking for content on a particular topic? Search the channel. If I have something it will be there!
    ▬▬▬▬▬▬ C H A P T E R S ⏰ ▬▬▬▬▬▬
    0:00 - Introduction
    0:22 - Why we need an identity for a resource
    2:00 - Using a traditional service principal and how they work
    10:19 - Managed identity introduction
    12:30 - Services that support managed identity
    13:29 - Types of managed identity
    18:20 - Using managed identities
    20:30 - Giving a managed identity a role on another resource
    22:54 - Looking at MI service principals
    25:35 - Managed identity resource provider
    27:00 - Demoing a system-assigned managed identity in a VM
    32:06 - MI with key vault pattern demo
    36:03 - How this works behind the scenes
    38:20 - Using a user-assigned managed identity
    42:26 - Detail on the access token and MI benefits
    45:52 - Some best practices
    47:03 - Azure Arc support
    47:32 - Summary
    ▬▬▬▬▬▬ K E Y L I N K S 🔗 ▬▬▬▬▬▬
    ► Whiteboard:
    🔗 github.com/johnthebrit/Random...
    ► Demo script:
    🔗 github.com/johnthebrit/Random...
    ► Demo script markdown:
    🔗 github.com/johnthebrit/Random...
    ► Resources that support MI:
    🔗 docs.microsoft.com/azure/acti...
    ► MI Overview:
    🔗 docs.microsoft.com/azure/acti...
    ► How to use MI token:
    🔗docs.microsoft.com/azure/acti...
    ► How MI's work:
    🔗docs.microsoft.com/azure/acti...
    ▬▬▬▬▬▬ Want to learn more? 🚀 ▬▬▬▬▬▬
    📖 Recommended Learning Path for Azure
    🔗 learn.onboardtoazure.com
    📅 Weekly Azure Update
    🔗 • Azure Infrastructure U...
    ☁ Azure Master Class
    🔗 • Microsoft Azure Master...
    ⚙ DevOps Master Class
    🔗 • DevOps Master Class
    💻 PowerShell Master Class
    🔗 • PowerShell Master Class
    🎓 Certification Cram Videos
    🔗 • Microsoft Certificatio...
    ❔ Question about my setup?
    🔗 • My Setup
    👕 Cure Childhood Cancer Charity T-Shirt Channel Store
    🔗 johns-t-shirts-store.creator-...
    SUBSCRIBE ✅ / @ntfaqguy
    #microsoft #azure #johnsavillstechnicaltraining #onboardtoazure #cloud
  • Věda a technologie

Komentáře • 93

  • @NTFAQGuy
    @NTFAQGuy  Před 2 lety +16

    Hey everyone, welcome to this video all about managed identities! Please make sure to read the description for the chapters and key information about this video and others.
    ⚠ P L E A S E N O T E ⚠
    🔎 If you are looking for content on a particular topic search the channel. If I have something it will be there!
    🕰 I don't discuss future content nor take requests for future content so please don't ask 😇
    Thanks for watching!
    ☁🤙💪

    • @maneesh981
      @maneesh981 Před rokem

      You are Marvellous Super Genius

  • @_rmc
    @_rmc Před 2 lety +8

    The best bit about studying Azure isn’t only the curated learn cert paths but also that John somehow manages to bring out a new view about a month or two ahead of my learning curve; the deep dive videos are the best way to get ahead quickly and then read the docs and get hands on at a slower pace.
    Excellent as always John. Always looking forward to what comes next ;)

  • @rgulamhussein
    @rgulamhussein Před rokem +2

    Thank you for such a clear explanation John. Your video is worth a thousand pages of docs!

  • @Semtx552
    @Semtx552 Před 2 lety +3

    incredibly valuable info, cheers!
    Especially the start where you articulate the ent app / reg app / SP interaction. i still struggle with that bit.
    I will rewatch your video dedicated to that subject.

  • @robadobdob
    @robadobdob Před 2 lety +2

    I've literally just picked up a task to convert our apps to use Managed Identity so this video has been a godsend for explaining the ins and outs of it.

  • @robannmateja5000
    @robannmateja5000 Před 2 lety

    Listened to this again for the second time (refresher). As usual, awesome content and presentation. Thank you!

  • @amirjsayes
    @amirjsayes Před rokem +1

    Simply outstanding! Very clear and very informative and enjoyable to watch 💪🏼 Keep up the great work

  • @niraj7616
    @niraj7616 Před 2 lety +2

    Excellent, watching this with a cup of tea in cold England 🥶 👍

  • @yasimatech9769
    @yasimatech9769 Před 6 měsíci

    Many thanks John, really learnt a lot from this session on managed identities in Entra ID (aka Azure). You've really nailed it in my head 💯

  • @naveenkumarn9917
    @naveenkumarn9917 Před 2 lety

    Good content and delivery.Well prepared commands. Really helped me to visualize. Thanks John

  • @gunknown370
    @gunknown370 Před rokem

    I'm studying for the az-500 and your content is just the best out there! thanks for this

  • @lltagged
    @lltagged Před 3 měsíci

    Great way to spend a saturday evening: Watching John explain stuff you did not know before.

  • @gwcooley
    @gwcooley Před 2 lety +3

    Great overview, excellent engaging teaching style. Thank you. Onward and upward!

  • @agostinopugliese5288
    @agostinopugliese5288 Před rokem

    John, this video is amazing as always. Kudos to you

  • @s3999
    @s3999 Před 2 lety

    John, that video is simply brilliant. Kudos to you.

  • @cma9br
    @cma9br Před 2 lety +1

    I am a big fan of managed identities and you make things easy to learn

  • @amirjsayes
    @amirjsayes Před 7 měsíci

    Amazing 48 minutes of great content! Great work John 🎉

  • @a29miller
    @a29miller Před rokem

    Great Video! Gave me a much better understanding of this managed identity topic!!

  • @ehickeytube
    @ehickeytube Před rokem

    Thanks John. Great content and better delivery

  • @wesleygyger1210
    @wesleygyger1210 Před 2 lety

    Good stuff. I didn't know what I didn't know until I watched this. Thanks for helping me understand this.

  • @michield6812
    @michield6812 Před rokem

    Outstanding presentation. A lot of information in a short time.

  • @wolkwijs324
    @wolkwijs324 Před 2 lety +1

    Again a gem of a video! Thanks for another great deep dive!

  • @olegshalnov1028
    @olegshalnov1028 Před 2 lety

    Great article! Thank you for doing this!

  • @expat64
    @expat64 Před 2 lety +8

    Outstanding session John! I knew a fair bit of this already, but you clarified the picture, as you always do, and filled the remaining gaps for me. This will also be invaluable training for my team! 🙂

  • @James-sc1lz
    @James-sc1lz Před 2 lety

    I needed this and you explained it really well as usual so thank you

  • @atulpatel8708
    @atulpatel8708 Před 2 lety

    Fantastic video on Azure Managed Identities, thank-you so much !

  • @timurkalizhanov5281
    @timurkalizhanov5281 Před 5 měsíci

    Very clear, structured and detailed explanation! Thank you very, very much for what you are doing!!!!

    • @NTFAQGuy
      @NTFAQGuy  Před 5 měsíci +1

      You're very welcome!

  • @ravikumarmistry
    @ravikumarmistry Před 9 dny

    Great as always

  • @JeremyTBradshaw
    @JeremyTBradshaw Před rokem

    That was really great! Thanks very much.

  • @lj7894
    @lj7894 Před 2 lety +2

    "Simplicity is Intelligence " Jiddu Krishnamurti - thank you John for makings things in Azure simple again! :)

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety +1

      My pleasure! Thank you!

  • @robbrinkkemper1702
    @robbrinkkemper1702 Před 6 měsíci

    I'm really thankful for the lessons learned from Azure Managed Identities. They've been incredibly valuable.😊📚🙏

  • @matthewmarquis4266
    @matthewmarquis4266 Před rokem

    Thank you so much for this break down

  • @ranajitjana4030
    @ranajitjana4030 Před 2 lety

    Too good. Thank you for the video

  • @Mo-iu3jf
    @Mo-iu3jf Před 2 lety

    Awesome video, thanks a lot for sharing

  • @oliviermalfroidt6405
    @oliviermalfroidt6405 Před 2 lety

    Thank you for this amazing content.

  • @BhanuPratap88
    @BhanuPratap88 Před rokem

    Thanks a lot great explanation of a very complex topic 👏👏

  • @cnchandroo
    @cnchandroo Před 2 lety +1

    Thank you John for yet another wonderful session. It helped me to understand better how MI works internally and used with Azure resources for access management.

  • @rupeshchoudhary9237
    @rupeshchoudhary9237 Před rokem

    Great teaching skills. .loved the whole explanation Bit . I would love enroll for a course on whole azure series if any.

  • @islamtoghuj
    @islamtoghuj Před rokem

    Thank you our brother.

  • @christianibiri
    @christianibiri Před 2 lety +1

    I learned a lot with this video! thank you sir!

  • @michaelwaterman3553
    @michaelwaterman3553 Před rokem

    This is freaking brilliant!!! Thanks 🙏

  • @lightyagami0ben
    @lightyagami0ben Před 2 lety

    Great content !

  • @toddhu2498
    @toddhu2498 Před rokem

    I struggle a long time how MI magically dealt all the headache in SP. read all type of docs but always the information is here and there. The IMDS AND MIRP is really the key, surprisingly this video can use 40min to explain all my question that I researched like 1 week..

  • @michaelmendoza9824
    @michaelmendoza9824 Před 2 lety

    Absolutely Excellent Azure Managed Identity lesson/explanation! John Savill, you are an Azure evangelist Super Hero!!! I truly appreciate you! MM

  • @hutchm92
    @hutchm92 Před 4 měsíci

    Great explanation!

  • @user-sx9tk3yu5m
    @user-sx9tk3yu5m Před 4 měsíci

    John the way you explain is just amazing ; that whiteboard is the best i have ever seen, it has a true Power 😁>>>>>>>> thanks for these series

  • @fxylk
    @fxylk Před 2 lety +1

    Amazing 🤩

  • @sylviawylie9218
    @sylviawylie9218 Před měsícem

    Generic comment to show my appreciation. Keep winning John!

  • @MrZakiHaider
    @MrZakiHaider Před 2 lety

    Great. thank you :)

  • @StarvedForTime
    @StarvedForTime Před rokem

    This video saved my ass. Liked and subbed

  • @antoniemerks1375
    @antoniemerks1375 Před 8 měsíci

    Thanks

  • @chaddoyle6911
    @chaddoyle6911 Před 2 lety

    Super Cool Stuff! I’ve just started learning these concepts and your teaching style is quite good. I have a question that came out of this video and that is that recently I decided to use a system mi even though there were multiple resources that could benefit from a user mi. I think I did it because there were trade off(s). Is there a simple answer and if not would you consider talking about the differences or sending me a link where you have talked about them?

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety

      I talked about why use UA-MI in the video. Don't really have anythign beyond what I explained.

  • @stepbabe100
    @stepbabe100 Před 2 lety +2

    John Why am I only discovering you now? Awesome training and wonderful white boarding that is sorely lacking in other training I have watched. Keep up the awesome work? Any insight into Azure Synapse ?

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety +1

      Glad you enjoy the content.

    • @SteveBonds
      @SteveBonds Před 2 lety +1

      John does a FANTASTIC job of using named chapters to enable us to search his content for specific things. I found his data services video which has a chapter on Synapse this way. He also talks about how to search his channel in his recent "learning Azure in 2022" video, which is a great intro to how to use all this amazing content.

    • @stepbabe100
      @stepbabe100 Před 2 lety

      @@SteveBonds thank you much appreciated! I will go find that vid !

  • @omartin2009
    @omartin2009 Před 2 lety

    Excellent as always!! How do apps, once IMDS (in the example of the VM), gets the refreshed token? I guess as a dev (or a user of the VM), I'd have to manually get a refresh token (or code that to refresh the token every now and depending on the kind of resource) by doing some kind of CURL request (or PS or other method) because the token I downloaded at t=0 will become invalid at t=12h, right?

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety

      There is no refresh token. As I said in videos its app only flow with long lived access token. MSAL etc will take care.

  • @va55ag0
    @va55ag0 Před 2 lety +1

    Thanks again for another great video. Quick question about my scenario:
    My app is an API and, and therefore has its own App Registration (an identity!). It accesses Azure Storage accounts plus makes calls other APIs using Oauth 2.0 client credentials flows (I.e. I have to grant my app registration permission to the scopes of the other app registrations). In this scenario, would you still recommend using the managed identity to access the Azure resources? To me, it seems strange for my app to have multiple identities.

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety +1

      like all consulting i think it depends :-) there are resiliency benefits as i talked about but maybe the complexity not worth it for you to have multiple.

  • @AleksandarIvanov69
    @AleksandarIvanov69 Před 2 lety

    For the algorithm! 😁

  • @expat64
    @expat64 Před 2 lety +1

    So John, am I right in thinking that, in your VM scenario, anybody who can log into the VM implicitly has permission to use any of the MIs assigned to the VM, meaning you need to be aware that when granting somebody access to the VM, you are also granting them permission to use the MI, and if so, is this something that should be highlighted?

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety

      Right anything within that vm can use the MIs associated with it.

  • @cdoex1
    @cdoex1 Před 2 lety

    Thank you, this was a very good MI deep dive. But is it possible to have an even deeper dive?
    Regarding the IMDS endpoint in the example there were no authentication to that service present, so I guess that is handled some other way? The AppService MI sidecar uses some sort of internally injected private key for that)
    (In certain situations using the C# libraries for this, the proactive token refresh seems to not start after 12h, or half the token lifetime, but rather 5m before expiry, resiliency effectively defeated...)

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety

      I don't think a deeper dive would be of interest to most. I gave detail on how it works but really all you care about is in your service/language how to request it.

    • @cdoex1
      @cdoex1 Před 2 lety

      @@NTFAQGuy Thank you, I managed to find the documentation that told the story on how IMDS worked and even posted the link here in a response to my comment above, but now that response seems to be missing.

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety

      @@cdoex1 I did include in the video description the link to the MS how it works. Links in comments are disabled so thats likely why not showing.

    • @cdoex1
      @cdoex1 Před 2 lety

      @@NTFAQGuy Ah, of course, but who reads the description 🤦‍♂🤦‍♂ sorry...

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety

      @@cdoex1 lol

  • @HenryBuild-sp6or
    @HenryBuild-sp6or Před 2 lety

    your biceps as a load balancer :)

  • @jatinnandwani6678
    @jatinnandwani6678 Před 2 lety

    Hey John thanks so much
    Can I buy you a coffee or can you please enable some method of contributing back to this channel

    • @NTFAQGuy
      @NTFAQGuy  Před 2 lety +10

      That’s very kind but I don’t want to earn money from this channel. It’s my way of giving back to the community which is why I have no adverts etc. Just help spread word of the channel and help it grow would be awesome 🤙

  • @RonaldPostelmans
    @RonaldPostelmans Před 2 lety

    create explanation of managed identities, thanks

  • @jean-baptistelasselle4562

    "some people" 😂🤣