hashicorp / vault-plugin-auth-gcp

GCP Authentication Plugin for Vault
Mozilla Public License 2.0
53 stars 23 forks source link

WIF support for GCP auth engine #204

Closed vinay-gopalan closed 4 months ago

vinay-gopalan commented 5 months ago

This PR adds plugin WIF support to the GCP auth engine. This adds the following new fields to the config endpoint to enable configuring Workload Identity Federation:

The PR adds the PluginIdentityTokenSupplier Credential Provider that fetches a plugin identity token from Vault and passes it to an external account Token Source for a valid federated credential exchange. The PR also pulls in the latest tag v0.9.0 for the go-gcp-common library with WIF utils.

vinay-gopalan commented 4 months ago

Thanks!