A walk through of how to authenticate between GitHub Actions and Azure AD without having to store secrets and instead using OIDC.
π 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:47 – How authentication used to work
1:47 – Using OIDC
5:21 – GitHub identity token and exchange for AAD access token
8:08 – Types of subject
11:15 – AAD app registration
13:42 – Using azure/login
15:22 – Adding federated credential
18:20 – Storing required values and using in GitHub
19:44 – App roles
20:10 – Summary
β¬β¬β¬β¬β¬β¬ K E Y L I N K S π β¬β¬β¬β¬β¬β¬
βΊ Whiteboard:
π https://github.com/johnthebrit/RandomStuff/raw/master/Whiteboards/GitHubOIDCAuthentication.png
βΊ GitHub OIDC authentication:
π https://docs.github.com/en/actions/deployment/security-hardening-your-deployments/about-security-hardening-with-openid-connect#configuring-the-oidc-trust-with-the-cloud
βΊ GitHub to AAD OIDC authentication:
π https://learn.microsoft.com/azure/developer/github/connect-from-azure?tabs=azure-portal%2Cwindows
βΊ AAD OIDC authentication:
π https://learn.microsoft.com/azure/active-directory/workload-identities/workload-identity-federation-create-trust?pivots=identity-wif-apps-methods-azp
β¬β¬β¬β¬β¬β¬ Want to learn more? π β¬β¬β¬β¬β¬β¬
π Recommended Learning Path for Azure
π https://learn.onboardtoazure.com
π₯ Certification Content Repository
π https://github.com/johnthebrit/CertificationMaterials
π
Weekly Azure Update
π https://youtube.com/playlist?list=PLlVtbbG169nEv7jSfOVmQGRp9wAoAM0Ks
β Azure Master Class
π https://youtube.com/playlist?list=PLlVtbbG169nGccbp8VSpAozu3w9xSQJoY
β DevOps Master Class
π https://youtube.com/playlist?list=PLlVtbbG169nFr8RzQ4GIxUEznpNR53ERq
π» PowerShell Master Class
π https://youtube.com/playlist?list=PLlVtbbG169nFq_hR7FcMYg32xsSAObuq8
π Certification Cram Videos
π https://youtube.com/playlist?list=PLlVtbbG169nHz2qfLvPsAz9CnnXofhmcA
π§ Mentoring Content
π https://youtube.com/playlist?list=PLlVtbbG169nGHxNkSWB0PjzZHwZ0BkXZZ
β Questions? Maybe I answered it in my FAQ
π https://savilltech.com/faq.html
π Cure Childhood Cancer Charity T-Shirt Channel Store
π https://johns-t-shirts-store.creator-spring.com/
π I have manually updated the captions to be as accurate as possible. Enable the subtitles and from there you can translate to your native language via the auto-translate feature in settings! https://youtu.be/v5b53-PgEmI for a demo of using this feature.
SUBSCRIBE β https://www.youtube.com/channel/UCpIn7ox7j7bH_OFj7tYouOQ?sub_confirmation=1
#microsoft #azure #johnsavillstechnicaltraining #onboardtoazure #cloud