kargo icon indicating copy to clipboard operation
kargo copied to clipboard

Authentication with Cloud source repository (Google Cloud)

Open form19 opened this issue 7 months ago • 6 comments

### Proposed Feature

Can you please add support of Google Cloud Source repository

### Motivation

I would like to use Kargo and connect to Google Cloud Source repository. Is there a compatibility with this product?

Google use Workload Identity federation to authentication. In the documentation i can see a section for Artifact registry but nothing about Cloud Source repository: https://docs.kargo.io/operator-guide/security/managing-credentials#google-artifact-registry-gar

Are there a any other possibility to provide authentication for this product?

form19 avatar May 27 '25 13:05 form19

Cloud Source Repositories does not support Workload Identity Federation.

https://cloud.google.com/iam/docs/federated-identity-supported-services

Image

krancour avatar May 27 '25 14:05 krancour

Ok thanks. Which other authentication system support kargo for Google Cloud Source repository? Json key with service account? Thanks

form19 avatar May 27 '25 14:05 form19

Kargo can authenticate in the ways that are documented here:

User perspective: https://docs.kargo.io/user-guide/security/managing-credentials

Operator perspective: https://docs.kargo.io/operator-guide/security/managing-credentials

If you don't see it mentioned there, it is not supported.

Please note that there is a difference between the authentication methods natively supported by Git clients/servers and the authentication methods that may be supported by the APIs that different Git repository hosting providers may support. Those APIs are provider-specific features not defined as part of Git's spec.

krancour avatar May 27 '25 14:05 krancour

Hello Krancour,

for ArgoCd you solved it this problem:

https://github.com/argoproj/argo-cd/issues/17279

Image

In Kargo is possible to do ugual mode? Thanks a lot

Matteo

form19 avatar Jul 17 '25 10:07 form19

We can take another look at this, with the caveat that this is a very low priority.

krancour avatar Jul 18 '25 16:07 krancour

This issue has been automatically marked as stale because it had no activity for 90 days. It will be closed if no activity occurs in the next 30 days but can be reopened if it becomes relevant again.

github-actions[bot] avatar Oct 17 '25 11:10 github-actions[bot]