API keys for the CLI
Create API keys in Dropway and use them with the CLI so scripts and agents can create sites and deploy without a browser login.
Create a key in the dashboard
Open Settings, go to API keys, and create a key. Copy it once. Dropway shows the secret only at creation time.
Use it with the CLI
Set DROPWAY_API_KEY to the key. It takes precedence over a stored browser login,
so the same dropway deploy and site commands work in CI, scripts, and other
non interactive environments.
export DROPWAY_API_KEY=dw_...
dropway deploy ./dist --new --site my-docs --send
Programmatic site creation
With a key set, --new creates the site as part of the deploy. No interactive
dropway login step. Revoke a key any time from Settings when a script or
machine should lose access.