Reference
astractl CLI
astractl CLI
astractl is the public operator and developer CLI for Astra.
Usage
astractl --endpoint http://127.0.0.1:2379 [--bearer-token TOKEN] <command> [args]
Global flags
--endpoint: target API endpoint (defaulthttp://127.0.0.1:2379)--bearer-token: optional JWT bearer token for auth-enabled clusters
Commands
put <key> <value>: write a key/valueget <key> [--prefix]: read one key or prefix setwatch <key> [--prefix] [--from-revision N]: stream watch eventsblast [--prefix /blast] [--count N] [--payload-size bytes]: PUT load generatorwatch-crucible ...: high-fanout watch harnessbulk-load <manifest> ...: submit bulk-load jobbulk-load-job <job-id>: poll bulk-load stateoidc-proxy --listen-addr <addr> --upstream <endpoint>...: local refresh-capable bearer-token proxy for apps that cannot attach Astra JWTs themselves on the etcd gRPC path
Typical flows
astractl put /demo/key value
astractl get /demo/key
astractl watch /registry/ --prefix --from-revision 0