Skip to content

DefaultCredentialsProvider should have an option to clear cached Credentials #1181

@diegomarquezp

Description

@diegomarquezp

Hi, we wish to integrate Cloud Tools for Eclipse with this library in order to obtain the credentials from the gcloud CLI's well-known location/env-var. Our use case is to switch accounts externally via the gcloud CLI (i.e. login, revoke, login), but this will not work if the second login is with a different account thanks to a cache hit in the DefaultCredentialsProvider class. We need an option to clear the cache manually.
Thanks

Metadata

Metadata

Assignees

No one assigned

    Labels

    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