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

API Key value should be at least 20 characters #2607

Closed
jzivanov opened this issue Nov 27, 2019 · 1 comment · Fixed by #3652
Closed

API Key value should be at least 20 characters #2607

jzivanov opened this issue Nov 27, 2019 · 1 comment · Fixed by #3652

Comments

@jzivanov
Copy link

jzivanov commented Nov 27, 2019

The create_api_key api, is missing validation on api_key value min length.

aws apigateway create-api-key --name 'TESTKEY' --description 'should not be valid' --value '12345'

An error occurred (BadRequestException) when calling the CreateApiKey operation: API Key value should be at least 20 characters

@bblommers
Copy link
Collaborator

This is now part of moto >= 1.3.17.dev265

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