googleads / googleads/googleads-python-lib
Enable constructing GoogleServiceAccountClient with Credentials.from_service_account_info method
Open
@msaniscalchi is already working on this.
Since Jun 5, 2024.
enhancement
- Dominant language
- Python
- Stars
- 749
- Forks
- 967
- PR merge metrics
- No merged PRs in 30d
Description
When initializing a GoogleServiceAccountClient, it expects Service Account JSON key file but there is no way to pass in the key file content as dictionary (e.g. after reading out from a secret store) because the constructor is limited to use the google.oauth2.service_account.Credentials.from_service_account_file()class method. Can this constructor be extended with .from_service_account_info() method, too?
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.