You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
### What changes were proposed in this pull request?
This is the first PR of credential vending for Gravitino server to add
credential API , please refer to #5682 for the overall workflow.
Examples to use the API:
```java
Catalog catalog = metalake.loadCatalog(catalogName);
Credential[] credentials =
catalog.supportsCredentials().getCredentials();
Credential credential =
catalog.supportsCredentials().getCredential(“s3-token”);
```
```java
Fileset fileset = catalog.asFilesetCatalog().loadFileset(filesetIdent);
Credential[] credentials =
fileset.supportsCredentials().getCredentials();
Credential credential =
fileset.supportsCredentials().getCredential(“s3-token”);
```
### Why are the changes needed?
Fix: #5619
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
using draft PR to do E2E test
### What changes were proposed in this pull request?
This is the first PR of credential vending for Gravitino server to add
credential API , please refer to #5682 for the overall workflow.
Examples to use the API:
```java
Catalog catalog = metalake.loadCatalog(catalogName);
Credential[] credentials =
catalog.supportsCredentials().getCredentials();
Credential credential =
catalog.supportsCredentials().getCredential(“s3-token”);
```
```java
Fileset fileset = catalog.asFilesetCatalog().loadFileset(filesetIdent);
Credential[] credentials =
fileset.supportsCredentials().getCredentials();
Credential credential =
fileset.supportsCredentials().getCredential(“s3-token”);
```
### Why are the changes needed?
Fix: #5619
### Does this PR introduce _any_ user-facing change?
no
### How was this patch tested?
using draft PR to do E2E test
Describe the subtask
Support credential API for Gravitino server
Parent issue
#4398
The text was updated successfully, but these errors were encountered: