Class IamAwsProvider

java.lang.Object
io.minio.credentials.EnvironmentProvider
io.minio.credentials.IamAwsProvider
All Implemented Interfaces:
Provider

public class IamAwsProvider extends EnvironmentProvider
Credential provider using IAM roles for Amazon EC2.
  • Constructor Details

    • IamAwsProvider

      public IamAwsProvider(@Nullable String customEndpoint, @Nullable okhttp3.OkHttpClient customHttpClient)
  • Method Details

    • fetch

      public Credentials fetch()
      Description copied from interface: Provider
      Returns a valid Credentials instance by retrieving from credential provider service if necessary.