Docker AWS ECR auth with oidc role doesn't seem to be working

I tried configuring AWS ECR pulling through OIDC but it doesn’t seem to be working

I can see on AWS that the IAM role is not being accessed

version: 2.1

jobs:
  job_name:
    docker:
      - image: <your-image-arn>
        aws_auth:
          oidc_role_arn: <your-iam-role-arn>

property oidc_role_arn is missing from the yaml spec
https://json.schemastore.org/circleciconfig.json

even though the feature was released in May’23

I stumbled upon the same problem.