public class AWSLakeFSTokenProvider extends Object implements LakeFSTokenProvider
| Constructor and Description |
|---|
AWSLakeFSTokenProvider(com.amazonaws.auth.AWSCredentialsProvider awsProvider,
io.lakefs.clients.sdk.ApiClient lakeFSClient,
STSGetCallerIdentityPresigner stsPresigner,
String stsEndpoint,
Map<String,String> stsAdditionalHeaders,
int stsExpirationInSeconds) |
| Modifier and Type | Method and Description |
|---|---|
String |
getToken() |
protected void |
initialize(com.amazonaws.auth.AWSCredentialsProvider awsProvider,
String scheme,
org.apache.hadoop.conf.Configuration conf) |
String |
newPresignedGetCallerIdentityToken() |
GeneratePresignGetCallerIdentityResponse |
newPresignedRequest() |
void |
refresh() |
public AWSLakeFSTokenProvider(com.amazonaws.auth.AWSCredentialsProvider awsProvider,
io.lakefs.clients.sdk.ApiClient lakeFSClient,
STSGetCallerIdentityPresigner stsPresigner,
String stsEndpoint,
Map<String,String> stsAdditionalHeaders,
int stsExpirationInSeconds)
protected void initialize(com.amazonaws.auth.AWSCredentialsProvider awsProvider,
String scheme,
org.apache.hadoop.conf.Configuration conf)
throws IOException
IOExceptionpublic String getToken()
getToken in interface LakeFSTokenProviderpublic GeneratePresignGetCallerIdentityResponse newPresignedRequest() throws Exception
Exceptionpublic String newPresignedGetCallerIdentityToken() throws Exception
Exceptionpublic void refresh()
refresh in interface LakeFSTokenProviderCopyright © 2024. All rights reserved.