Loading tutorials
sub (subject) claim in a GitHub Actions OIDC token. It explains how GitHub builds the claim, which formats it can take, and which formats your trust policy has to match. It assumes you know GitHub Actions workflow YAML, basic IAM roles and policies, and what a JSON Web Toke6 min readaud and sub claims. Here you combine them into a trust policy that decides wh5 min readsub claim to the value in your trust policy. It assumes you know what a JSON Web Token is, can read GitHub Actions workflow YAML, and have written a basic IAM role trust policy. The earlier chapters introduced the sub claim and the role trust poli6 min readmain can satisfy. It assumes you know how a GitHub Actions workflow is structured, what an IAM role and trust policy are, and that a JWT carries claims. Earlier chapters covered the token's claims and the aud check. H5 min readsub and aud claims and on exact versus wildcard matching.5 min readrepo:example-org/example-repo:environment:production. This chapter covers the controls that decide which jobs can get that subject in the first place. It assumes you can read a GitHub Actions workflow, know how the sub claim is built, a5 min readsub claim is built for branches and environments from earlier chapters. It also assumes you can read an AWS IAM trust policy and know what a Git tag is. Here you will learn what the subject looks like when a job r6 min readsub and aud claims. You should know how a trust policy compares claim values with StringEquals and StringLike, and how a workflow requests a token with id-token: write.5 min readsub formats for branches, environments, pull requests, and tags. Here you will change what the sub claim contains, learn what that does5 min readsub and aud claims and write an AWS IAM trust policy with a Condition block. Here you will review trust policies for mistakes that let the wrong repository, branch6 min read