googleapis / googleapis/google-cloud-cpp

Allow a single client instance to authenticate with multiple tokens

Open
#15,238 2 comments 0 reactions 0 assignees View on GitHub
type: feature request
Dominant language
C++
Stars
659
Forks
463
Avg merge
1d 2h
Merged PRs (30d)
89

Description

**What component of `google-cloud-cpp` is this feature request for?** For
example, is this related to bigtable (i.e., something in
`google/cloud/bigtable`), or GCS (i.e., something in `google/cloud/storage`)?

google/cloud/storage/client

GCS c++ client

**Is your feature request related to a problem?

Currently we need to create a new client per token. For our service we have multiple users with different tokens and having different clients per user is inefficient.
For GCS scale we should have a implementation where a single client can handle multiple auth calls (in ReadObj etc)

**Describe alternatives you've considered** A clear and concise description of
any alternative solutions or features you've considered.
NA

**Additional context** Add any other context about the feature request here.
NA

Contributor guide

Open the contributing guide

Research direction

Start with the google/cloud/storage/client component and its ReadObj entry point. Determine how authentication is currently attached to a client and what behavior is required for multiple user tokens. Done means one client can handle authenticated calls for multiple tokens without requiring a separate client per token.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp, gcp
Domain
api, authentication, cloud
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.