Dynamo DB local Image 2.0.0 security token

0

The latest version of the amazon/dynamodb-local:2.0.0 was released recently. Since upgrading dynamo local is giving issues "The Access Key ID or security token is invalid." according to this documentation as long as you have the Access Key and Security key defined as something it should work. https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html

My docker compose file looks identical to the one in the documentation.

Please advise how to fix this.

  • Can you share some more info. What OS are you using, what version? Does reverting DynamoDB Local to a previous version work? Have you tried using the -shareDb flag?

  • Can you please check if your access key follows the convention of only letters (A–Z, a–z) and numbers (0–9)?

    DynamoDB local version 2.0.0 and greater AWS_ACCESS_KEY_ID can contain the only letters (A–Z, a–z) and numbers (0–9).

    https://hub.docker.com/repository/docker/amazon/dynamodb-local/general

質問済み 1年前489ビュー
2回答
0

Starting from version 2.0.0 and 1.23.0 DynamoDB local AWS_ACCESS_KEY_ID can contain only letters (A–Z, a–z) and numbers (0–9).

https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html

https://hub.docker.com/r/amazon/dynamodb-local

Deepesh
回答済み 1年前
0

One reason you might encounter this behaviour is using non-maintained packages, which use access keys that are now considered invalid. This is discussed in https://github.com/99x/serverless-dynamodb-local/pull/298

To fix this, upgrade the packages to maintained forks (disclaimer: I am a contributor to these forks), for example:

Also see: https://repost.aws/articles/ARc4hEkF9CRgOrw8kSMe6CwQ/troubleshooting-the-access-key-id-or-security-token-is-invalid-error-after-upgrading-dynamodb-local-to-version-2-0-or-greater

回答済み 1年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ