Microsoft Azure Managed Identity Deep Dive

Поділитися
Вставка
  • Опубліковано 11 чер 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
  • Наука та технологія

КОМЕНТАРІ • 91

  • @NTFAQGuy
    @NTFAQGuy  2 роки тому +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 Рік тому

      You are Marvellous Super Genius

  • @_rmc
    @_rmc 2 роки тому +7

    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 ;)

  • @lltagged
    @lltagged 3 місяці тому

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

  • @robadobdob
    @robadobdob Рік тому +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.

  • @Semtx552
    @Semtx552 2 роки тому +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.

  • @rgulamhussein
    @rgulamhussein Рік тому +2

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

  • @niraj7616
    @niraj7616 2 роки тому +2

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

  • @expat64
    @expat64 2 роки тому +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! 🙂

  • @amirjsayes
    @amirjsayes Рік тому +1

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

  • @robannmateja5000
    @robannmateja5000 2 роки тому

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

  • @lj7894
    @lj7894 2 роки тому +2

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

    • @NTFAQGuy
      @NTFAQGuy  2 роки тому +1

      My pleasure! Thank you!

  • @gwcooley
    @gwcooley 2 роки тому +3

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

    • @NTFAQGuy
      @NTFAQGuy  2 роки тому

      Glad you enjoyed it!

  • @yasimatech9769
    @yasimatech9769 5 місяців тому

    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 Рік тому

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

  • @gunknown370
    @gunknown370 Рік тому

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

  • @s3999
    @s3999 2 роки тому

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

  • @agostinopugliese5288
    @agostinopugliese5288 Рік тому

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

  • @amirjsayes
    @amirjsayes 7 місяців тому

    Amazing 48 minutes of great content! Great work John 🎉

  • @cma9br
    @cma9br 2 роки тому +1

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

  • @michield6812
    @michield6812 Рік тому

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

  • @ehickeytube
    @ehickeytube Рік тому

    Thanks John. Great content and better delivery

  • @James-sc1lz
    @James-sc1lz 2 роки тому

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

  • @a29miller
    @a29miller Рік тому

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

  • @wolkwijs324
    @wolkwijs324 2 роки тому +1

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

  • @olegshalnov1028
    @olegshalnov1028 2 роки тому

    Great article! Thank you for doing this!

  • @timurkalizhanov5281
    @timurkalizhanov5281 4 місяці тому

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

    • @NTFAQGuy
      @NTFAQGuy  4 місяці тому +1

      You're very welcome!

  • @sylviawylie9218
    @sylviawylie9218 26 днів тому

    Generic comment to show my appreciation. Keep winning John!

  • @robbrinkkemper1702
    @robbrinkkemper1702 6 місяців тому

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

    • @NTFAQGuy
      @NTFAQGuy  6 місяців тому

      Happy to hear that!

  • @wesleygyger1210
    @wesleygyger1210 2 роки тому

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

  • @atulpatel8708
    @atulpatel8708 2 роки тому

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

  • @matthewmarquis4266
    @matthewmarquis4266 Рік тому

    Thank you so much for this break down

  • @rupeshchoudhary9237
    @rupeshchoudhary9237 Рік тому

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

  • @user-sx9tk3yu5m
    @user-sx9tk3yu5m 4 місяці тому

    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

  • @JeremyTBradshaw
    @JeremyTBradshaw Рік тому

    That was really great! Thanks very much.

  • @christianibiri
    @christianibiri 2 роки тому +1

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

  • @Mo-iu3jf
    @Mo-iu3jf 2 роки тому

    Awesome video, thanks a lot for sharing

  • @oliviermalfroidt6405
    @oliviermalfroidt6405 2 роки тому

    Thank you for this amazing content.

  • @BhanuPratap88
    @BhanuPratap88 Рік тому

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

  • @cnchandroo
    @cnchandroo 2 роки тому +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.

  • @michaelmendoza9824
    @michaelmendoza9824 2 роки тому

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

  • @ranajitjana4030
    @ranajitjana4030 2 роки тому

    Too good. Thank you for the video

  • @michaelwaterman3553
    @michaelwaterman3553 11 місяців тому

    This is freaking brilliant!!! Thanks 🙏

    • @NTFAQGuy
      @NTFAQGuy  11 місяців тому

      Glad you like it!

  • @hutchm92
    @hutchm92 4 місяці тому

    Great explanation!

    • @NTFAQGuy
      @NTFAQGuy  4 місяці тому

      Glad it was helpful!

  • @toddhu2498
    @toddhu2498 Рік тому

    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..

  • @islamtoghuj
    @islamtoghuj Рік тому

    Thank you our brother.

  • @lightyagami0ben
    @lightyagami0ben 2 роки тому

    Great content !

  • @chaddoyle6911
    @chaddoyle6911 2 роки тому

    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  2 роки тому

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

  • @stepbabe100
    @stepbabe100 2 роки тому +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  2 роки тому +1

      Glad you enjoy the content.

    • @SteveBonds
      @SteveBonds 2 роки тому +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 2 роки тому

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

  • @fxylk
    @fxylk 2 роки тому +1

    Amazing 🤩

  • @omartin2009
    @omartin2009 2 роки тому

    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  2 роки тому

      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 2 роки тому +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  2 роки тому +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.

  • @StarvedForTime
    @StarvedForTime Рік тому

    This video saved my ass. Liked and subbed

  • @MrZakiHaider
    @MrZakiHaider 2 роки тому

    Great. thank you :)

  • @antoniemerks1375
    @antoniemerks1375 8 місяців тому

    Thanks

  • @expat64
    @expat64 2 роки тому +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  2 роки тому

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

  • @cdoex1
    @cdoex1 2 роки тому

    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  2 роки тому

      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 2 роки тому

      @@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  2 роки тому

      @@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 2 роки тому

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

    • @NTFAQGuy
      @NTFAQGuy  2 роки тому

      @@cdoex1 lol

  • @AleksandarIvanov69
    @AleksandarIvanov69 2 роки тому

    For the algorithm! 😁

  • @HenryBuild-sp6or
    @HenryBuild-sp6or 2 роки тому

    your biceps as a load balancer :)

  • @RonaldPostelmans
    @RonaldPostelmans 2 роки тому

    create explanation of managed identities, thanks

  • @jatinnandwani6678
    @jatinnandwani6678 2 роки тому

    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  2 роки тому +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 🤙

  • @jean-baptistelasselle4562
    @jean-baptistelasselle4562 Рік тому

    "some people" 😂🤣