Microservices - Authentication and Authorization
A developer wrote this code snippet to revoke an API key:
function revokeKey(key) {
if key in activeKeys:
activeKeys.remove(key)
else:
print('Key not found')
}
But the key is still accepted after revocation. What is the likely issue?