I'm developing a Cloud Endpoint in Google App Engine Standard (Google Cloud), and API calls are woeking both locally and in deployed Google App Engine.
I'm trying to Restricting API Access with API Keys as specified here, following step by step:
https://cloud.google.com/endpoints/docs/frameworks/java/restricting-api-access-with-api-keys-frameworks
I have also configured my openapi.json file:
"securityDefinitions":{
"api_key": {
"type" : "apiKey",
"name": "key",
"in": "query"
}
}
"security": [
{
"api_key": [ ]
},
but i can still access my methods without adding any ?key= to the url.
I've also notice that in Google Cloud Console, in Endpoint section, i can see my deployed APIs, but I don't see any activity from my API, when I'm making calls, ans these appear in Google App Engine Log.
What is missed in the configuration?
Thanks.