Pregunta

I am trying to perform some basic authentication . I have created a map in apigee with an apikey and allowed user, Can anyone help me on how I could link this map to the verify API key policy .

¿Fue útil?

Solución

Are ApiKeys in your map generated via apigee or third party? If they are generated in Apigee, then you can use VerifyAPIKey Straight away (To Validate key), then use KeyValueMapPolicy, "GET" operation to get, your users for that apikey, if that is your use case. If you are just storing the APIKey(generated via third party) in Map, in than you can just use GET on Key Value maps.

Otros consejos

In this case you don't need an Verify API key policy to validate the the key which you have generated key. Just do the GET on the map you have created to validate. VerifyAPIKey policy will be used when a key is generated by Apigee.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top