Some rough cloudformation to add OIDC support for Github in AWS.
- Create new identity provider for Github. (
1b511abead59c6ce207077c0bf0e0043b1382612
is the known thumbprint for Github).
Note, you can discover current thumbprint using openssl.
$ openssl s_client -servername token.actions.githubusercontent.com -showcerts -connect token.actions.githubusercontent.com:443 < /dev/null 2>/dev/null | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' | sed "0,/-END CERTIFICATE-/d" > certificate.crt $ openssl x509 -in certificate.crt -fingerprint -noout | cut -f2 -d'=' | tr -d ':' | tr '[:upper:]' '[:lower:]' 1b511abead59c6ce207077c0bf0e0043b1382612