Skip to content
This repository was archived by the owner on Jul 13, 2025. It is now read-only.
This repository was archived by the owner on Jul 13, 2025. It is now read-only.

Allow passing path to keyfile to use for credentials #1324

@geigerj

Description

@geigerj

Context

What

We don't want to force users to read gRPC docs and construct a Grpc::ChannelCredentials in the common situation that they want to use a keyfile.

How

Allow the initialize method of the client object to accept either a string representing the path to a keyfile, or a Grpc::ChannelCredentials as the value to chan_creds. If a string is received, GAX should construct the Grpc::ChannelCredentials automatically.

cc: @landrito @eoogbe

Metadata

Metadata

Assignees

Labels

lang: rubyIssues specific to Ruby.priority: p1Important issue which blocks shipping the next release. Will be fixed prior to next release.type: feature request‘Nice-to-have’ improvement, new feature or different behavior or design.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions