AWS Amplify set "API key required" to True for a path in an API Gateway REST API #3112
Labels
pending-maintainer-response
Issue is pending a response from the Amplify team.
question
Further information is requested
Amplify CLI Version
12.14.0
Question
I have an Amplify app that has an API Gateway REST API.
I created some that are used for users of the application with AWS_IAM authorization which works great, but I also created paths that I would like to give access to external users with an API Key and a Usage Plan.
I have configured everything from the console (the api key and the usage plan), but the issue I encountered is how do I set the "API key required" flag to true from the cli on specific paths, because when I do it manually and then make some other changes to the api using the Amplify CLI, when deployed it overrides the manual change...
How can I set that the "API key required" flag to True for specific paths in my REST API using the Amplify CLI or in a way that it won't be overriden?
The text was updated successfully, but these errors were encountered: