Published a new episode of AWS Bites Podcast:
45. What’s the magic of OIDC identity providers?
https://awsbites.com/45-what-s-the-magic-of-oidc-identity-providers/
If you are thinking of using an external CICD tool to deploy to AWS you are probably wondering how to securely connect your pipelines to your AWS account. You could create a user for your CICD tool of choice and copy some hard coded credentials into it, but, let’s face it: this doesn’t feel like the right - or at least the most secure - approach! In the previous episode we discussed how AWS and GitHub solved this problem by using OIDC identity providers and this seems to be a good solution to the problem. In this episode of AWS Bites we will try to demystify the secrets of OIDC identity providers and explain how they work and what’s the trust model between AWS and an OIDC provider like GitHub actions. We will also explain all the steps required to integrate AWS with GitHub, how JWT works in this particular scenario and other use cases where you could use OIDC providers.
If you are thinking of using an external CICD tool to deploy to AWS you are probably wondering how to securely connect your pipelines to your AWS account. You could create a user for your CICD tool of choice and copy some hard coded credentials into it, but, let’s face it: this doesn’t feel like the right - or at least the most secure - approach! In the previous episode we discussed how AWS and GitHub solved this problem by using OIDC identity providers and this seems to be a good solution to the problem. In this episode of AWS Bites we will try to demystify the secrets of OIDC identity providers and explain how they work and what’s the trust model between AWS and an OIDC provider like GitHub actions. We will also explain all the steps required to integrate AWS with GitHub, how JWT works in this particular scenario and other use cases where you could use OIDC providers.
In this episode, we mentioned the following resources:
- GitHub docs explaining how to integrate with AWS as an OIDC provider
- Article “What’s in a JWT”
- jwtinfo, CLI tool to inspect JWT
- AWS action to assume a role from a GitHub Pipeline
- Great post by Elias Brange detailing how to setup GitHub OIDC integration for AWS
- Previous episode on why you should consider GitHub Actions rather than AWS CodePipeline
Let's talk!