Astra CLI overview

The Astra DB Command-Line Interface (Astra CLI) is a set of commands you can use to create and manage Astra DB and Astra Streaming resources:

  • Creation and management of Astra DB databases, Astra Streaming 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 Streaming. They’re designed to get you working quickly, with an emphasis on automation.

For example, the following command creates a Pulsar 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 Portal and Astra DB APIs.

For more information, see the following:

Was this helpful?

Give Feedback

How can we improve the documentation?

© 2024 DataStax | Privacy policy | Terms of use

Apache, Apache Cassandra, Cassandra, Apache Tomcat, Tomcat, Apache Lucene, Apache Solr, Apache Hadoop, Hadoop, Apache Pulsar, Pulsar, Apache Spark, Spark, Apache TinkerPop, TinkerPop, Apache Kafka and Kafka are either registered trademarks or trademarks of the Apache Software Foundation or its subsidiaries in Canada, the United States and/or other countries. Kubernetes is the registered trademark of the Linux Foundation.

General Inquiries: +1 (650) 389-6000, info@datastax.com