The {astra-db} Command-Line Interface ({astra-cli}) is a set of commands you can use to create and manage {astra-db} and {product} resources:
-
Creation and management of {astra-db} databases, {astra_stream} tenants, and their associated artifacts.
-
Querying and data loading.
-
Organization and user management.
-
Security and token configuration.
{astra-cli} commands are available for {astra-db} and {astra_stream}. They’re designed to get you working quickly, with an emphasis on automation.
For example, the following command creates an {pulsar-reg} tenant:
astra streaming create TENANT_NAME \
--cloud CLOUD_PROVIDER --region REGION_NAME \
--plan PLAN_TYPE --namespace TENANT_INITIAL_NAMESPACE_NAME
You can use {astra-cli} instead of or in addition to the {astra-ui} and {astra-db} APIs.
For more information, see the following: