# Wolf RBAC Configuration

The `wolf-rbac` plugin authenticates requests through Wolf, enforces application permissions, and forwards verified user identity upstream.<!-- --> <!-- -->Configuration covers consumer fields and route and service fields.

## Parameters[​](#parameters "Direct link to Parameters")

See plugin [common configurations](https://docs.api7.ai/apisix/reference/plugin-common-configurations.md) for configuration options available to all plugins.

### Consumers[​](#consumers "Direct link to Consumers")

The following are plugin attributes available for configurations on [consumers](https://docs.api7.ai/apisix/key-concepts/consumers.md).

* appid

  string

  required

  ***

  Wolf application ID used to select this consumer. The application ID in the caller's RBAC token must match this value.

  Required in APISIX 3.20.0 and API7 Enterprise from version 3.10.10. Earlier versions default to `unset`.

* server

  string

  default: `http://127.0.0.1:12180`

  ***

  Wolf server origin, including the scheme and without a trailing slash. Use HTTPS and enable `ssl_verify` for production traffic.

* ssl\_verify

  boolean

  ***

  If true, verify the Wolf server's TLS certificate. An omitted value does not enable certificate verification.

### Routes or Services[​](#routes-or-services "Direct link to Routes or Services")

The following are plugin attributes available for configurations on [routes](https://docs.api7.ai/apisix/key-concepts/routes.md) or [services](https://docs.api7.ai/apisix/key-concepts/services.md).

* header\_prefix

  string

  default: `X-`

  ***

  Prefix for the `UserId`, `Username`, and `Nickname` headers populated from user information returned by Wolf. Before authentication, the gateway removes client-supplied request headers with these names. For permitted requests, it adds them to the upstream request and the client response.

  Available on routes and services in APISIX 3.20.0 and API7 Enterprise from version 3.10.10. Earlier versions configure `header_prefix` on the consumer. See [Upgrade](https://docs.api7.ai/hub/wolf-rbac.md#upgrade).
