Class STS2ClientIAMOptimized

java.lang.Object
org.apache.camel.component.aws2.sts.client.impl.STS2ClientIAMOptimized
All Implemented Interfaces:
STS2InternalClient

public class STS2ClientIAMOptimized extends Object implements STS2InternalClient
Manage an AWS STS client for all users to use. This implementation is for remote instances to manage the credentials on their own (eliminating credential rotations)
  • Constructor Details

    • STS2ClientIAMOptimized

      public STS2ClientIAMOptimized(STS2Configuration configuration)
      Constructor that uses the config file.
  • Method Details

    • getStsClient

      public software.amazon.awssdk.services.sts.StsClient getStsClient()
      Getting the STS aws client that is used.
      Specified by:
      getStsClient in interface STS2InternalClient
      Returns:
      Amazon STS Client.