Install the CLI
Install the skale CLI, sign in, enable shell completion, and set its environment variables.
The skale CLI connects clouds to SkaleData, develops and deploys Airflow DAGs, and mints credentials for application APIs. Install it first; the rest of Getting started uses it.
Installation
brew install skaledata/tap/skaleAuthentication
# Interactive login (opens browser)
skale auth loginFor CI/CD, use an API key instead:
skale auth set-key sdk_...
# or, non-interactively, via environment variable:
export SKALEDATA_API_KEY=sdk_...Next, connect a cloud.
To call a deployed app's own REST API (Airflow, Airbyte, …), see App APIs and credentials.
Shell completion
Enable tab completion for your shell:
Bash
skale completion bash > /etc/bash_completion.d/skaleZsh
skale completion zsh > "${fpath[1]}/_skale"Fish
skale completion fish > ~/.config/fish/completions/skale.fishAfter adding the completion script, restart your shell or source your profile.
Environment variables
| Variable | Description |
|---|---|
SKALEDATA_API_KEY | API key for non-interactive authentication |
SKALEDATA_API_URL | Override the API endpoint (default: https://api.skaledata.com) |