apache / apache/arrow-rs-object-store
Support Token-based auth for GCP
- Dominant language
- Rust
- Stars
- 322
- Forks
- 212
- Avg merge
- 5d 2h
- Merged PRs (30d)
- 10
Description
**Is your feature request related to a problem or challenge? Please describe what you are trying to do.**
Allow for authentication to through an access token for the [GoogleCloudStorageBuilder](https://docs.rs/object_store/latest/object_store/gcp/struct.GoogleCloudStorageBuilder.html).
**Describe the solution you'd like**
Possibly by adding support for access tokens to [GoogleConfigKey](https://docs.rs/object_store/latest/object_store/gcp/enum.GoogleConfigKey.html).
**Describe alternatives you've considered**
Our current work around involves creating a GcpCredentialProvider and then using the builder's [with_credentials](https://docs.rs/object_store/latest/object_store/gcp/struct.GoogleCloudStorageBuilder.html#method.with_credentials) to authenticate with an access token.
**Additional context**
Contributor guide
Research direction
Start with GoogleCloudStorageBuilder and GoogleConfigKey in the linked object_store GCP documentation, then compare them with GcpCredentialProvider and the with_credentials workaround described in the issue. Done means an access token can be supplied through the builder's normal configuration path and authenticates successfully without manually constructing a credential provider.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- gcp, rust
- Domain
- authentication, cloud
- Issue type
- Feature
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100