Robert
05/09/2022, 2:14 PMAPIGatewayV1API, to make a specific endpoint public, and assign an API Key to it? Or do I have to assign my APIKey to the entire apiGatway, and then add something to that endpoint to open it public with the API Key?Tim
05/09/2022, 5:21 PMconst api = new sst.ApiGatewayV1Api(this, 'api', {
  routes: {
    'GET /account': {
      function: 'src/account.handler',
      cdk: {
        method: {
          apiKeyRequired: true,
        }
      }
    }
  },
});
and then add the API key to the APIRobert
05/09/2022, 5:27 PM