rodrigopv commented on PR #549: URL: https://github.com/apache/iceberg-go/pull/549#issuecomment-3221579556
> How is this different from the `credential` option that already exists? `credential` accepts a colon-separated client_id and client_secret to perform OAuth2 authentication, which returns a bearer token as a response. `token` allows you to directly use a pre-issued bearer token. Some providers such as Cloudflare R2 Data Catalog give you a bearer token right away, that's why I needed to implement this (still just for the comfort of using the CLI, as the API already supports passing a token). So this PR allowed me to test drive this Iceberg catalog REST service right away with the iceberg-go CLI instead of the [suggested options in Cloudflare documentation](https://developers.cloudflare.com/r2/data-catalog/config-examples/pyiceberg/). -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
