Package io.minio.credentials
Class AssumeRoleProvider
java.lang.Object
io.minio.credentials.BaseIdentityProvider
io.minio.credentials.AssumeRoleProvider
- All Implemented Interfaces:
Provider
Credential provider using AssumeRole
API.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.minio.credentials.BaseIdentityProvider
DEFAULT_DURATION_SECONDS -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected okhttp3.Requestprotected Class<? extends BaseIdentityProvider.Response>Methods inherited from class io.minio.credentials.BaseIdentityProvider
fetch, getValidDurationSeconds, newUrlBuilder, parseResponse
-
Constructor Details
-
AssumeRoleProvider
public 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 - Throws:
MinioException
-
-
Method Details
-
getRequest
protected okhttp3.Request getRequest()- Specified by:
getRequestin classBaseIdentityProvider
-
getResponseClass
- Specified by:
getResponseClassin classBaseIdentityProvider
-