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

Noisy logs when using gcloud #47

Open
clundin25 opened this issue Oct 13, 2022 · 0 comments
Open

Noisy logs when using gcloud #47

clundin25 opened this issue Oct 13, 2022 · 0 comments
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.

Comments

@clundin25
Copy link
Collaborator

Currently when using ECP with gcloud the ECP logs will get printed to STDOUT.

~/code/gcloud-build on ☁️  clundin@beyondcorp.us took 9s
➜ ./google-cloud-sdk/bin/gcloud auth application-default login
Your browser has been opened to visit:

    https://accounts.google.com/o/oauth2/auth?response_type=code&client_id=764086051850-6qr4p6gpi6hn506pt8ejuq83di341hur.apps.googleusercontent.com&redirect_uri=http%3A%2F%2Flocalhost%3A8085%2F&scope=openid+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fuserinfo.email+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fcloud-platform+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Fsqlservice.login+https%3A%2F%2Fwww.googleapis.com%2Fauth%2Faccounts.reauth&state=CIRy88gBrvYBANeDb7LStayEHGUaIl&access_type=offline&code_challenge=kgULNHLzH7Pqg9edOsnrG043JS43Z69sZMe07hRge8k&code_challenge_method=S256

2022/10/13 14:51:34 the key is ecdsa key

Credentials saved to file: [/Users/clundin/.config/gcloud/application_default_credentials.json]

These credentials will be used by any library that requests Application Default Credentials (ADC).
2022/10/13 14:51:35 the key is ecdsa key
2022/10/13 14:51:35 the key is ecdsa key

Quota project "pluggable-mtls-test-project" was added to ADC which can be used by Google client libraries for billing and quota. Note that some services may still bill the project owning the resource.

Note the lines that say the key is ecdsa key.

We should consider getting these logs behind something, e.g. an ENV variable.

@clundin25 clundin25 added type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns. priority: p2 Moderately-important priority. Fix may not be included in next release. labels Oct 13, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: p2 Moderately-important priority. Fix may not be included in next release. type: bug Error or flaw in code with unintended results or allowing sub-optimal usage patterns.
Projects
None yet
Development

No branches or pull requests

1 participant