Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Test Credentials JSON authentication method #2127

Open
orouz opened this issue Apr 11, 2024 · 0 comments
Open

Test Credentials JSON authentication method #2127

orouz opened this issue Apr 11, 2024 · 0 comments
Labels

Comments

@orouz
Copy link
Collaborator

orouz commented Apr 11, 2024

Motivation

when users install CSPM GCP and select manual deployment, they need to provide a service account json - Credentials JSON which will be used to initialize the GCP clients. we need a test to verify this authentication method works.

currently the GCP sanity tests use the credentials file located on the hosted machine, so we're only testing a single authentication option.

the test can be pretty simple - provide a a service account JSON and verify a client has been initialized successfully

Definition of done

  • GCP assets inventory client initialization with WithCredentialsJSON is tested

Related issues

@orouz orouz added Team:Cloud Security Cloud Security team related gcp labels Apr 11, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants