Package io.minio.credentials
Interface Provider
- All Known Implementing Classes:
AssumeRoleProvider,AwsConfigProvider,AwsEnvironmentProvider,BaseIdentityProvider,CertificateIdentityProvider,ChainedProvider,ClientGrantsProvider,EnvironmentProvider,IamAwsProvider,LdapIdentityProvider,MinioClientConfigProvider,MinioEnvironmentProvider,StaticProvider,WebIdentityClientGrantsProvider,WebIdentityProvider
public interface Provider
Definition of credential provider. Provider always gives a valid, non-expired credentials to be
used to perform S3 operations. Credential consumer like
MinioClient calls fetch() to get credentials. It is provider's responsibility to retrieve credentials upon expiry
when fetch() is called.-
Method Summary
Modifier and TypeMethodDescriptionfetch()Returns a validCredentialsinstance by retrieving from credential provider service if necessary.
-
Method Details
-
fetch
Credentials fetch()Returns a validCredentialsinstance by retrieving from credential provider service if necessary.
-