Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla
I will take a look at the CLA once I get positive indication this change would be accepted.
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla
CLA submitted.
@cla-bot check
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla
The cla-bot has been summoned, and re-checked this pull request!
What is the default mode for these Credentials ? The default behaviour is to use the ApplicationDefaultCredentials right
100 | 100 | } | |
101 | 101 | catch (IOException e) { | |
102 | throw new UncheckedIOException(e); | ||
102 | // This is consistent with the GCP SDK when no credentials are available in the environment | ||
103 | return null; |
Or should we use NoCredentials
?
What is the default mode for these Credentials ? The default behaviour is to use the ApplicationDefaultCredentials right
The default behavior of the library as linked to above/in the original issue is to call GoogleCredentials.getApplicationDefault()
, but importantly, to return null if it throws an exception (which signifies no application default credentials are available in the environment). This is different from the current behavior of Trino which calls that method, but propagates the exception.
Passing NoCredentials
is a way for a user of the library to explicitly indicate that they do not want to authenticate. I don't think that Trino should assume that in any case, but a possible route would be to add a configuration option to do so.
My preference is what I had originallyโif no credentials options are set, simply fall back to the default behavior of the library by not calling setCredentials
at all, rather than trying to emulate its behavior by calling GoogleCredentials.getApplicationDefault()
ourselves.
This pull request has gone a while without any activity. Ask for help on #core-dev on Trino slack.
@cla-bot check
Thank you for your pull request and welcome to the Trino community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. Continue to work with us on the review and improvements in this PR, and submit the signed CLA to cla@trino.io. Photos, scans, or digitally-signed PDF files are all suitable. Processing may take a few days. The CLA needs to be on file before we merge your changes. For more information, see https://github.com/trinodb/cla
The cla-bot has been summoned, and re-checked this pull request!
@wendigo I submitted the CLA to cla@trino.io 25 days ago (19 May)โdoes it usually take this long, or is it worth checking with someone about getting that verified?
@martint can you check whether you have received @patricklucas CLA?
@patricklucas I can see that the last time CLAs were processed was 2.05: https://github.com/trinodb/cla/commits/master
@cla-bot check
The cla-bot has been summoned, and re-checked this pull request!
Login to write a write a comment.
Description
If a JSON key or key file path are not provided, and using access tokens is not enabled, do not attempt to get the Application Default Credentials, instead allowing the GCS client library to use its own default behavior.
This will allow using Trino with custom GCS-compatible endpoints without auth, such as during development and testing.
Additional context and related issues
Fixes #25810
Release notes
( ) This is not user-visible or is docs only, and no release notes are required.
(x) Release notes are required. Please propose a release note for me.
( ) Release notes are required, with the following suggested text: