public class AssumeRoleProvider extends BaseIdentityProvider
| Modifier and Type | Class and Description |
|---|---|
static class |
AssumeRoleProvider.Response
Response XML of AssumeRole
API.
|
DEFAULT_DURATION_SECONDS| Constructor and Description |
|---|
AssumeRoleProvider(String stsEndpoint,
String accessKey,
String secretKey,
Integer durationSeconds,
String policy,
String region,
String roleArn,
String roleSessionName,
String externalId,
okhttp3.OkHttpClient customHttpClient) |
| Modifier and Type | Method and Description |
|---|---|
protected okhttp3.Request |
getRequest() |
protected Class<? extends BaseIdentityProvider.Response> |
getResponseClass() |
fetch, getValidDurationSeconds, newUrlBuilder, parseResponsepublic AssumeRoleProvider(@Nonnull String stsEndpoint, @Nonnull String accessKey, @Nonnull String secretKey, @Nullable Integer durationSeconds, @Nullable String policy, @Nullable String region, @Nullable String roleArn, @Nullable String roleSessionName, @Nullable String externalId, @Nullable okhttp3.OkHttpClient customHttpClient) throws MinioException
MinioExceptionprotected okhttp3.Request getRequest()
getRequest in class BaseIdentityProviderprotected Class<? extends BaseIdentityProvider.Response> getResponseClass()
getResponseClass in class BaseIdentityProvider