hashicorp / go-secure-stdlib

Mozilla Public License 2.0
64 stars 24 forks source link

Add ability to set a custom identity token fetcher implementation #116

Closed vinay-gopalan closed 9 months ago

vinay-gopalan commented 9 months ago

This PR introduces the ability to set a custom token fetcher in the awsutil/v0 package. This PR involves adding the token fetcher to the credential config and ensuring that the token fetcher can be used by to generate the credential chain if provided in the cred config.

The actual token fetcher implementation that fetches the Identity Token is in Vault here: