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

preguntada hace un año489 visualizaciones
2 Respuestas
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
respondido hace un año
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

respondido hace un año

No has iniciado sesión. Iniciar sesión para publicar una respuesta.

Una buena respuesta responde claramente a la pregunta, proporciona comentarios constructivos y fomenta el crecimiento profesional en la persona que hace la pregunta.

Pautas para responder preguntas