collado-mike opened a new issue, #550:
URL: https://github.com/apache/polaris/issues/550

   ### Is your feature request related to a problem? Please describe.
   
   GCP supports [service account 
impersonation](https://cloud.google.com/iam/docs/service-account-impersonation),
 so that given credentials for a service account, it's possible to impersonate 
a different service account, given that the first is granted privileges to do 
so. The `GcpStorageConfigurationInfo` catalog configuration 
[here](https://github.com/apache/polaris/blob/main/polaris-core/src/main/java/org/apache/polaris/core/storage/gcp/GcpStorageConfigurationInfo.java#L39-L40)
 actually has a `gcpServiceAccount` field that we never use when vending GCS 
storage credentials. We can use the code in 
https://cloud.google.com/iam/docs/create-short-lived-credentials-direct#create-access
 to assume the target service account, then generate a short-lived token that 
has the target service account's privileges subscoped to the table location 
during the credential vending process.
   
   ### Describe the solution you'd like
   
   _No response_
   
   ### Describe alternatives you've considered
   
   _No response_
   
   ### Additional context
   
   _No response_


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to