Is it possible to initialize the Firebase Admin SDK with an impersonated service account?

I'm trying to build a system where I can access the Firestore database in another Google Cloud project by impersonating a service account that has access to that project's Firestore database using generating short-lived access tokens instead of service account keys for a more secure integration. When I try to use this kind of credential I get the following error:

Must initialize the SDK with a certificate credential or application default credentials to use Cloud Firestore API.

I'm wondering if I'm missing something here because it seems weird to me that it's just impossible to access Firestore with an impersonated account.

Thanks!

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum