Skip to content

Conversation

@mark-adams
Copy link
Contributor

@mark-adams mark-adams commented Jun 21, 2024

This change updates the authentication logic in the GCP provider to fallback and use application default credentials when authenticating with GCP instead of requiring that gcp_service_account_key be set in the provider configuration. Using ADC by default is the default behavior for the Google Cloud SDK and most applications that call GCP APIs.

Using ADC also allows cloudlist to authenticate with GCP using temporary credentials when running on workloads in GCP instead of using static credentials (something Google recommends against).

…ey` is not set [projectdiscovery#531]

This change updates the authentication logic in the GCP provider to fallback and use [application default credentials](https://cloud.google.com/docs/authentication/provide-credentials-adc) when authenticating with GCP instead of requiring that `gcp_service_account_key` be set in the provider configuration. Using ADC by default is the default behavior for the Google Cloud SDK and most applications that call GCP APIs.
@ehsandeep ehsandeep changed the base branch from main to dev June 21, 2024 23:12
@ehsandeep ehsandeep requested a review from ShubhamRasal June 21, 2024 23:12
@ehsandeep ehsandeep merged commit ccc9006 into projectdiscovery:dev Jun 25, 2024
visnetodev pushed a commit to visnetotest/cloudlist that referenced this pull request Dec 7, 2025
…ey` is not set [projectdiscovery#531] (projectdiscovery#532)

This change updates the authentication logic in the GCP provider to fallback and use [application default credentials](https://cloud.google.com/docs/authentication/provide-credentials-adc) when authenticating with GCP instead of requiring that `gcp_service_account_key` be set in the provider configuration. Using ADC by default is the default behavior for the Google Cloud SDK and most applications that call GCP APIs.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[feature] Allow the GCP provider to use application default credentials (ADC)

4 participants