Skip to main content

Apikeys

cp:otoroshi.next.plugins.ApikeyCalls

This plugin expects to find an apikey to allow the request to pass

categories:

  • AccessControl

default configuration:

{
"extractors" : {
"basic" : {
"enabled" : true,
"header_name" : null,
"query_name" : null
},
"custom_headers" : {
"enabled" : true,
"client_id_header_name" : null,
"client_secret_header_name" : null
},
"client_id" : {
"enabled" : true,
"header_name" : null,
"query_name" : null
},
"jwt" : {
"enabled" : true,
"secret_signed" : true,
"keypair_signed" : true,
"include_request_attrs" : false,
"max_jwt_lifespan_sec" : null,
"header_name" : null,
"query_name" : null,
"cookie_name" : null
}
},
"routing" : {
"enabled" : false
},
"validate" : true,
"mandatory" : true,
"pass_with_user" : false,
"wipe_backend_request" : true,
"update_quotas" : true
}