Triple-T / gradle-play-publisher

GPP is Android's unofficial release automation Gradle Plugin. It can do anything from building, uploading, and then promoting your App Bundle or APK to publishing app listings and other metadata.
MIT License
4.1k stars 340 forks source link

Allow use of JWT access tokens instead of service account keys #1022

Open thequailman opened 2 years ago

thequailman commented 2 years ago

Problem description

This library requires a service account key to use. It should alternatively support JWT access tokens directly (what you exchange the service account key for with GCP). These can be issued by secret managers like Vault, and you aren't limited to 10 per service account.

Potential solutions/workarounds

Provide an environment variable for access tokens.

Additional context

apognu commented 1 year ago

This would also be interesting to be able to make use of other means of authenticating against a service account, for example impersonation, for more advanced authentication schemes.