Run Aerospike Quick Look
For the complete documentation index see: llms.txt
All documentation pages available in markdown.
This page describes how to get started using Aerospike Quick Look (AQL)
Get started
To run AQL, start with the following command:
aqlFor example, to list all the namespaces in your database instance, enter the following command:
show namespacesList of AQL command options
There are a number of options that you can use with the aql command.
Provide the password
Pass the user’s password with -P or --password. Without a value, aql prompts for the password. Starting with Tools 13.2.0, the value can also be env:VAR, env-b64:VAR, b64:VALUE, file:PATH, or secrets:..., and --tls-keyfile-password accepts the same forms. The secrets: form fetches the value from Aerospike Secret Agent, using the --sa-address, --sa-port, --sa-timeout, and --sa-ca-file options. See Password and secret sources.
The following example reads the password from an environment variable:
aql -U USERNAME -P env:PASSWORD_VARIABLE -c "show namespaces"Configure AQL with configuration files
You can configure AQL using a configuration file. See Aerospike tools configuration file for more information.
The following options control configuration file behavior:
| Option | Default | Description |
|---|---|---|
--no-config-file | disabled | Don’t read any configuration file. The configuration file options --no-config-file and only-config-file are mutually exclusive. |
--instance SUFFIX | - | In the configuration file, you can specify a group of clusters that share a common suffix with the --instance option. Refer to Instances for more information. |
--config-file PATH | - | Read this file after default configuration file. |
--only-config-file PATH | - | Read only this configuration file. The configuration file options --no-config-file and only-config-file are mutually exclusive. |