debugging pipeline to view the deserialised content of a Buildktie OIDC token
Last active
January 28, 2025 23:22
-
-
Save yob/478ef5b798a6fd34b8d3739c3d6af8aa to your computer and use it in GitHub Desktop.
Print the contents of a Buildkit OIDC token for debugging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
steps: | |
- name: "jwt" | |
agents: | |
queue: "hosted" | |
plugins: | |
- docker#v5.12.0: | |
image: "node:23" | |
mount-checkout: false | |
mount-buildkite-agent: true | |
command: ["/bin/bash", "-c", "npm install -g jwt-cli && buildkite-agent oidc request-token --audience 'https://rubygems.org' | jwt"] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment