Skip to content

Instantly share code, notes, and snippets.

@salrashid123
Created December 6, 2021 13:20
Show Gist options
  • Save salrashid123/c95a9635cb5ea924014b58712d7cf130 to your computer and use it in GitHub Desktop.
Save salrashid123/c95a9635cb5ea924014b58712d7cf130 to your computer and use it in GitHub Desktop.
k8s_wif_5.json
{
"type": "external_account",
"audience": "//iam.googleapis.com/projects/12345678/locations/global/workloadIdentityPools/pool-k8s/providers/oidc-provider-k8s-1",
"subject_token_type": "urn:ietf:params:oauth:token-type:jwt",
"token_url": "https://sts.googleapis.com/v1/token",
"credential_source": {
"file": "/var/run/secrets/iot-token"
},
"service_account_impersonation_url": "https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/[email protected]:generateAccessToken"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment