K
Knock CLI
Details
- Command
-
knock - Docs
- https://docs.knock.app/cli/overview
Authentication
Knock CLI login oauth2 declared
$ knock login Acquired by the CLI — running knock login opens the auth flow and stores the credential.
env KNOCK_SERVICE_TOKEN In the Knock dashboard, generate a service token under Settings → Service tokens. It is used for the Management API at https://control.knock.app/v1 and for non-interactive CLI use, typically via KNOCK_SERVICE_TOKEN.