n14zio commented on issue #451:
URL: https://github.com/apache/iceberg-go/issues/451#issuecomment-2938041191
To fix:
`diff --git a/catalog/rest/rest.go b/catalog/rest/rest.go
index 9491649..56c3e55 100644
--- a/catalog/rest/rest.go
+++ b/catalog/rest/rest.go
@@ -56,6 +56,7 @@ const (
keyWarehouseLocation = "warehouse"
keyMetadataLocation = "metadata_location"
keyOauthCredential = "credential"
+ keyScope = "scope"
authorizationHeader = "Authorization"
bearerPrefix = "Bearer"
@@ -399,6 +400,8 @@ func fromProps(props iceberg.Properties, o *options) {
o.authUri = u
case keyOauthCredential:
o.credential = v
+ case keyScope:
+ o.scope = v
case keyPrefix:
o.prefix = v
case keyTlsSkipVerify:`
--
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]