10BC0 Adding a createFromFile method to AuthCredentials · Issue #179 · googleapis/google-cloud-java · GitHub
[go: up one dir, main page]

Skip to content

Adding a createFromFile method to AuthCredentials #179

@mziccard

Description

@mziccard

We now have a createFor(String account, PrivateKey privateKey) to create AuthCredentials, what about adding a createFor(File) for creating AuthCredentials from a service account JSON file?

Notably GoogleCredential already has fromStream that reads credentials from a stream of the JSON file. If you prefer, we can go for createFor(Stream) rather than createFor(File).

Metadata

Metadata

Assignees

Labels

api: coretype: 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

    0