Skip to content

Commit 3c05a07

Browse files
committed
Add audience ENV variable, expose token for debugging
1 parent 950896d commit 3c05a07

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/getting_started.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,7 @@ jobs:
3838
SNOWFLAKE_USER: snowddl
3939
SNOWFLAKE_AUTHENTICATOR: workload_identity
4040
SNOWFLAKE_WORKLOAD_IDENTITY_PROVIDER: OIDC
41+
SNOWFLAKE_AUDIENCE: snowflakecomputing.com
4142
SNOWFLAKE_ENV_PREFIX: ${{ matrix.env-prefix }}
4243

4344
steps:
@@ -61,6 +62,9 @@ jobs:
6162
- name: Get Workload Identity Token
6263
run: echo "SNOWFLAKE_WORKLOAD_IDENTITY_TOKEN=$(snow auth oidc read-token --type=github)" >> "$GITHUB_ENV"
6364

65+
- name: Show Workload Identity Token
66+
run: echo "$SNOWFLAKE_WORKLOAD_IDENTITY_TOKEN"
67+
6468
- name: "Cleanup"
6569
run: snowddl -c sample01_01 --apply-unsafe destroy
6670

0 commit comments

Comments
 (0)