πΊπ¦Ukraine spheresh
The credentials path contains the id file. This can become a problem when migrating configs as for me.
This is an initial solution that uses the key module, which works well with http-v1
https://git.drupalcode.org/issue/firebase-3163053/-/tree/http-v1
The only problem is that GOOGLE_APPLICATION_CREDENTIALS requires a file path.
That's why
'#type' => 'key_select',
'#key_filters' => ['provider' => 'file'],
We can only use the file provider.
I have added a @todo to research if we can use $key_entity->getKeyValue() instead.
Because the patch does not allow you to use all the functionality of the keys module for now.