A

API Declarative CLI (ADC)

CLI discovered

Details
Command
adc
Docs
https://docs.api7.ai/apisix/reference/adc
Authentication
API7 Gateway admin token/key api_key discovered Get key ↗
$ adc ping --backend api7ee --server <server> --token <token>

Use the API7 Gateway control plane/admin interface to generate or retrieve the gateway group's admin key; the API reference includes operations like Get the admin key for a gateway group and Generate an admin key for a gateway group on the Admin API reference. The public docs page confirms this management API has an Authentication section, but the exact header mechanics were not extractable from the scraped page, so consult that reference in your deployment before binding a client.

AISIX admin key api_key discovered Get key ↗
$ adc ping --backend apisix --server <server> --token <token>

For self-hosted AISIX, get the admin key from the gateway config.yaml as described in the configuration files reference. The admin API docs show management requests sending it as Authorization: Bearer <admin-key> or x-api-key: <admin-key>. In AISIX Cloud managed gateways, the admin listener is not exposed; use the cloud control plane instead per the Admin API reference.