Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for option for unsigned request #1199

Open
treble-maker123 opened this issue Oct 13, 2023 · 0 comments
Open

Allow for option for unsigned request #1199

treble-maker123 opened this issue Oct 13, 2023 · 0 comments

Comments

@treble-maker123
Copy link

When developing locally, I have a local instance of DynamoDB running that does not looking at the signature of the request. However, we still need to have valid AWS credentials on our local computer in order for PynamoDB to work, otherwise it would throw,

botocore.exceptions.ClientError: An error occurred (InvalidClientTokenId) when calling the AssumeRole operation: The security token included in the request is invalid.

The configuration should have the option to allow for unsigned request (e.g. boto/boto3#1200) so we don't need to maintain valid credentials on our computers to test something that does not require any credentials.

Happy to raise a PR if you guys think this is helpful. I think it's just a matter of being able to pipe that option to https://github.com/pynamodb/PynamoDB/blob/master/pynamodb/connection/base.py#L576-L581

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant