We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70456da commit d4c8fc9Copy full SHA for d4c8fc9
1 file changed
docs/iceberg-rest-service.md
@@ -344,10 +344,18 @@ spark.sql.catalog.${catalog_name}.token-exchange-enabled=false
344
345
**Flink**
346
347
-If you are using Flink, set the following catalog property to disable token exchange:
+If you are using Flink, set the following catalog properties to disable token exchange:
348
349
```sql
350
-'token-exchange-enable'='false'
+CREATE CATALOG irc WITH (
351
+ 'type' = 'iceberg',
352
+ 'catalog-type' = 'rest',
353
+ 'uri' = 'http://127.0.0.1:9001/iceberg/',
354
+ 'credential' = 'gravitino-client:q13WKxZYwUEt9L9XEtTHZjj3mxvGo0Pa',
355
+ 'oauth2-server-uri' = 'http://127.0.0.1:8080/realms/gravitinorealm/protocol/openid-connect/token',
356
+ 'scope' = 'openid profile email',
357
+ 'token-exchange-enable'='false'
358
+);
359
```
360
361
**Trino**
0 commit comments