Relative Content

Tag Archive for javaamazon-web-servicesspring-bootamazon-dynamodbdynamodb-queries

software.amazon.awssdk.services.dynamodb.model.DynamoDbException: The security token included in the request is invalid

I want to use the AWS SKD v2 of DynamoDB which can accepts the table name dynamically and return all the records and I am creating the Rest API for the same. I have to use the access key and secret key to configure the client for DynamoDB. Please note that I am using the direct AWS resource and have not setup any local DynamoDB. When I call the API I am getting the software.amazon.awssdk.services.dynamodb.model.DynamoDbException: The security token included in the request is invalid.