Skip to content

[Feature Request]: Allow to authenticate at GCP without api key #2791

Open
@RouvenG

Description

@RouvenG

Describe the problem

Currently I can only authenticate using the API which is generally not a recommended procedure. There is not way to use GCP's normal authentication flow e.g. through application default credentials

(see https://github.com/chroma-core/chroma/blob/main/chromadb/utils/embedding_functions/google_embedding_function.py)

Describe the proposed solution

When creating an instance of GooglePalmEmbeddingFunction, GoogleGenerativeAiEmbeddingFunction or
GoogleVertexEmbeddingFunction and not API key is provided, the application default credentials should be used.

Alternatives considered

I don't see other options than implementing the standard authentication mechanism for applications connecting to the GCP

Importance

i cannot use Chroma without it

Additional Information

No response

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions