You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As part of Workforce Credentials, we will need support getting a ProjectID (e.g. implementing ProjectIdProviderInterface) in ExternalAccountCredentials. Here's examples of how this is done in other languages:
IMPORTANT: Because the caching layer for the auth library is currently implemented in a FetchAuthTokenCache class (which is a pattern that has caused us a lot of headache), we will need to consider refactoring caching implementation to make this feature work. One way would be to implement the CacheTrait. Another would be to have it extend FetchAuthTokenCache. A third option would be create a new AuthTokenCacheTrait which contains logic from FetchAuthTokenCache to be shared between the two classes. A potentially larger refactor is also on the table (see https://github.com/googleapis/google-auth-library-php/pull/322/files)
The text was updated successfully, but these errors were encountered:
bshaffer
changed the title
Add support for ProjectIdProviderInterface to external account credentials
feat: support for ProjectIdProviderInterface to external account credentials (workforce pools)
Oct 9, 2023
bshaffer
changed the title
feat: support for ProjectIdProviderInterface to external account credentials (workforce pools)
feat: support for getProjectId in external account credentials (workforce pools)
Oct 9, 2023
See #474
See Python's implementation for Workforce credentials
As part of Workforce Credentials, we will need support getting a ProjectID (e.g. implementing
ProjectIdProviderInterface
) inExternalAccountCredentials
. Here's examples of how this is done in other languages:From the audience:
From Workload Identity Pool
IMPORTANT: Because the caching layer for the auth library is currently implemented in a
FetchAuthTokenCache
class (which is a pattern that has caused us a lot of headache), we will need to consider refactoring caching implementation to make this feature work. One way would be to implement theCacheTrait
. Another would be to have it extendFetchAuthTokenCache
. A third option would be create a newAuthTokenCacheTrait
which contains logic fromFetchAuthTokenCache
to be shared between the two classes. A potentially larger refactor is also on the table (see https://github.com/googleapis/google-auth-library-php/pull/322/files)The text was updated successfully, but these errors were encountered: