Class AwsCredentials

java.lang.Object
dev.langchain4j.data.document.loader.amazon.s3.AwsCredentials

public class AwsCredentials extends Object
Represents an AWS credentials object, including access key ID, secret access key, and optional session token.
  • Constructor Details

    • AwsCredentials

      public AwsCredentials(String accessKeyId, String secretAccessKey)
    • AwsCredentials

      public AwsCredentials(String accessKeyId, String secretAccessKey, String sessionToken)
  • Method Details

    • toCredentialsProvider

      public software.amazon.awssdk.auth.credentials.AwsCredentialsProvider toCredentialsProvider()