Currently we are using the dynamoDBMapper to access the db resource . And we have one use case to access the cross account resource. And we are trying to use the aws STS service but AWSCredentialsProvider is not accepting the sts credentials. How we can achieve this cross account access using DynamoDBMapper .