dive serve
dive serve token
Print a run token signed with the local development key
Prints a token with a fresh jti that expires in an hour, for dive serve --dev-key. Pass --plan for a token that starts a run of that plan, or --scope for one that reads and cancels runs.
Options
--planstring
The plan the token may start
Format: PLAN.
The tenant the run belongs to
Format: TENANT.
The user the run belongs to
Format: SUB.
Space-separated scopes
Format: SCOPE.
--dirstring
Project directory, the one holding .dive/; defaults to the current directory
Format: PATH.
Global options
-v, --verboseinteger
Increase log verbosity (-v info, -vv debug, -vvv trace)
--identitystring
Act as this [identities] entry: runs get a run token minted for its tenant and user, which http tools send to the app
Format: IDENTITY.
dive serve token [OPTIONS] --tenant <TENANT> --sub <SUB>