Access control
Allow List
Set allowed_consumers under the existing node: key in the provider’s
config.yaml.
| Who may retrieve offers and request leases? | Setting |
|---|---|
| Any remote consumer (default) | Omit allowed_consumers. |
| No remote consumers | Set allowed_consumers: []. |
| Only consumers you select | List their peer IDs, as shown below. |
Ask each consumer to run weft info on their own node and send you the
value labeled Peer. Replace the placeholder with the exact ID; add one line
per consumer:
node:
server: true
allowed_consumers:
- "<CONSUMER_PEER_ID>"
The policy covers every offer and lease on this provider. You can still inspect
offers locally.
Use [] rather than a blank value to deny everyone: null, invalid IDs, and
duplicate IDs prevent startup.
We recommend setting node.allowed_consumers to just your test consumer’s peer ID during setup. From that consumer, check that every offer appears as expected and that you can send an inference request through each backend you intend to serve. Only after those checks pass should you apply your final allow list.