From fca834b895455250c0411b9e798acdd1dc2f3cf9 Mon Sep 17 00:00:00 2001 From: Noah Stride Date: Fri, 20 Oct 2023 13:38:27 +0100 Subject: [PATCH] Show example copntents --- idtoken-contents-example.json | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 idtoken-contents-example.json diff --git a/idtoken-contents-example.json b/idtoken-contents-example.json new file mode 100644 index 0000000..358b7cc --- /dev/null +++ b/idtoken-contents-example.json @@ -0,0 +1,29 @@ +{ + "jti": "example-id", + "sub": "repo:octo-org/octo-repo:environment:prod", + "environment": "prod", + "aud": "https://github.com/octo-org", + "ref": "refs/heads/main", + "sha": "example-sha", + "repository": "octo-org/octo-repo", + "repository_owner": "octo-org", + "actor_id": "12", + "repository_visibility": "private", + "repository_id": "74", + "repository_owner_id": "65", + "run_id": "example-run-id", + "run_number": "10", + "run_attempt": "2", + "runner_environment": "github-hosted", + "actor": "octocat", + "workflow": "example-workflow", + "head_ref": "", + "base_ref": "", + "event_name": "workflow_dispatch", + "ref_type": "branch", + "job_workflow_ref": "octo-org/octo-automation/.github/workflows/oidc.yml@refs/heads/main", + "iss": "https://token.actions.githubusercontent.com", + "nbf": 1632492967, + "exp": 1632493867, + "iat": 1632493567 +} \ No newline at end of file