File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 6363 env :
6464 TSKEYSERVICE_URL : " <your tskeservice url e.g. https://tskeys.example.com/key>"
6565 run : |
66- OIDC_TOKEN=$(curl -sLS "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=brink " -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" | jq -j '.value')
66+ OIDC_TOKEN=$(curl -sLS "${ACTIONS_ID_TOKEN_REQUEST_URL}&audience=tskeyservice " -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $ACTIONS_ID_TOKEN_REQUEST_TOKEN" | jq -j '.value')
6767 TS_KEY=$(curl -sLS $TSKEYSERVICE_URL -H "User-Agent: actions/oidc-client" -H "Authorization: Bearer $OIDC_TOKEN" | jq -j '.key')
6868 echo "TAILSCALE_AUTHKEY=$TS_KEY" >> $GITHUB_ENV
6969
7575
7676## Alternatives
7777
78- - [vault-plugin-tailscale](https://github.com/davidsbond/vault-plugin-tailscale)
78+ - [vault-plugin-tailscale](https://github.com/davidsbond/vault-plugin-tailscale)
You can’t perform that action at this time.
0 commit comments