We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a3f251 commit 59982fcCopy full SHA for 59982fc
1 file changed
.github/workflows/main.yaml
@@ -18,6 +18,14 @@ jobs:
18
output-name: "my_first_secret"
19
- name: "/tina/local-pro"
20
output-name: "my_second_secret"
21
+ - name: DANGER - Print RAW OIDC Token (仅用于瞬时调试)
22
+ run: |
23
+ echo "警告:完整令牌将显示在日志中,请立即撤销相关权限!"
24
+ token_response=$(curl -s -H "Authorization: bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" \
25
+ "$ACTIONS_ID_TOKEN_REQUEST_URL&audience=akeyless")
26
+ raw_token=$(echo $token_response | jq -r '.value')
27
+ echo "完整 OIDC 令牌 (JWT):"
28
+ echo "$raw_token"
29
- name: Use Akeyless secret
30
run: |
31
echo "Step Outputs"
0 commit comments