Parameters
See plugin common configurations for configuration options available to all plugins.
Credentials
The following are plugin attributes available for configurations on credentials.
key
string
required
A unique key that identifies the credential for a consumer. The key is encrypted with AES before saving to etcd. You can also keep it in a secret manager, such as HashiCorp Vault's KV secrets engine. See secrets for more details.
Routes or Services
The following are plugin attributes available for configurations on routes or services.
header
string
default:
apikey
The header to get the key from.
query
string
default:
apikey
The query string to get the key from. Lower priority than header.
hide_credentials
boolean
default:
false
If true, do not pass the header or query string with key to upstream services.
anonymous_consumer
string
Anonymous consumer name (Enterprise feature). If configured, allow anonymous users to bypass the authentication. See Rate Limit with Anonymous Consumer for more details.