Package io.minio.credentials
Class CertificateIdentityProvider
java.lang.Object
io.minio.credentials.AssumeRoleBaseProvider
io.minio.credentials.CertificateIdentityProvider
- All Implemented Interfaces:
Provider
Credential provider using AssumeRoleWithCertificate
API.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classObject representation of response XML of AssumeRoleWithCertificate API.Nested classes/interfaces inherited from class io.minio.credentials.AssumeRoleBaseProvider
AssumeRoleBaseProvider.Response -
Field Summary
Fields inherited from class io.minio.credentials.AssumeRoleBaseProvider
DEFAULT_DURATION_SECONDS -
Constructor Summary
ConstructorsConstructorDescriptionCertificateIdentityProvider(String stsEndpoint, SSLSocketFactory sslSocketFactory, X509TrustManager trustManager, Integer durationSeconds, OkHttpClient customHttpClient) -
Method Summary
Modifier and TypeMethodDescriptionprotected Requestprotected Class<? extends AssumeRoleBaseProvider.Response>Methods inherited from class io.minio.credentials.AssumeRoleBaseProvider
fetch, getValidDurationSeconds, newUrlBuilder, parseResponse
-
Constructor Details
-
CertificateIdentityProvider
public CertificateIdentityProvider(String stsEndpoint, SSLSocketFactory sslSocketFactory, X509TrustManager trustManager, Integer durationSeconds, OkHttpClient customHttpClient) throws GeneralSecurityException, IOException - Throws:
GeneralSecurityExceptionIOException
-
-
Method Details
-
getRequest
protected Request getRequest()- Specified by:
getRequestin classAssumeRoleBaseProvider
-
getResponseClass
- Specified by:
getResponseClassin classAssumeRoleBaseProvider
-