Skip to content

Incorrect credentials cause a crash while creating Credentials. #15628

@sachinpro

Description

@sachinpro

Does this issue affect the google-cloud-cpp project?
Yes

What component of google-cloud-cpp is this related to?
Authentication
Describe the bug
Providing an incorrect credential file causes a crash.

To Reproduce Steps to reproduce the behavior:

  1. Call ::google::cloud::MakeServiceAccountCredentials with unparsable file contents.
  2. It will crash.

Expected behavior
There should be no crash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    priority: p2Moderately-important priority. Fix may not be included in next release.type: bugError or flaw in code with unintended results or allowing sub-optimal usage patterns.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions