Skip to content

.github/workflows/generate-oidc-jwt.yml #3

.github/workflows/generate-oidc-jwt.yml

.github/workflows/generate-oidc-jwt.yml #3

on:
workflow_dispatch:
jobs:
print-jwt:
runs-on: ubuntu-latest
permissions:
id-token: write
steps:
- run: |
jwt=$(curl -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=conserv-demo")
echo $jwt
echo $jwt | tr y %