Update to new STS URL (#30)

Per https://twitter.com/chrisrpatterson/status/1445773065221128203. This is still rolling out.
This commit is contained in:
Seth Vargo 2021-10-06 14:22:19 -04:00 committed by GitHub
parent abe0e87145
commit 90e80b8d07
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -331,7 +331,7 @@ the [gcloud][gcloud] command-line tool.
--workload-identity-pool="my-pool" \ --workload-identity-pool="my-pool" \
--display-name="Demo provider" \ --display-name="Demo provider" \
--attribute-mapping="google.subject=assertion.sub,attribute.actor=assertion.actor,attribute.aud=assertion.aud" \ --attribute-mapping="google.subject=assertion.sub,attribute.actor=assertion.actor,attribute.aud=assertion.aud" \
--issuer-uri="https://vstoken.actions.githubusercontent.com" --issuer-uri="https://token.actions.githubusercontent.com"
``` ```
The attribute mappings map claims in the GitHub Actions JWT to assertions The attribute mappings map claims in the GitHub Actions JWT to assertions
@ -401,7 +401,7 @@ Here is a sample GitHub Token for reference for attribute mappings:
"event_name": "push", "event_name": "push",
"ref_type": "branch", "ref_type": "branch",
"job_workflow_ref": "username/reponame/.github/workflows/token.yml@refs/heads/master", "job_workflow_ref": "username/reponame/.github/workflows/token.yml@refs/heads/master",
"iss": "https://vstoken.actions.githubusercontent.com", "iss": "https://token.actions.githubusercontent.com",
"nbf": 1631718827, "nbf": 1631718827,
"exp": 1631719727, "exp": 1631719727,
"iat": 1631719427 "iat": 1631719427