Skip to content

Pubsub: add 'PublisherClient.from_service_account_dict' #8137

Description

@xrmx

Is your feature request related to a problem? Please describe.
I'd like to use the pubsub client on a webapp where i have the secrets in environment variables and not on disk.
Describe the solution you'd like
I would like to have a classmethod added to Publisher to instantiate a client with the credentials passed from a dict instead of a json file path.

Metadata

Metadata

Assignees

Labels

api: pubsubIssues related to the Pub/Sub API.authtype: docsImprovement to the documentation for an API.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions