Install and Configure the CLI
Audience: Immuta users
Content Summary: This page details how to install the Immuta CLI and tab completions.
1 - Install the Immuta CLI
macOS CLI Binary Warning: When installing the macOS CLI binary, macOS displays the warning "could not verify that this app is free from malware" when the binary is run. Navigate to the Security & Privacy section in your System Preferences to allow the binary to be run.
Download the binary that corresponds to your operating system.
The latest stable binaries can be found here:
Linux x86_64 (amd64)
Linux ARMv8 (arm64)
The SHA 256 checksum is available to verify the file at https://immuta-platform-artifacts.s3.amazonaws.com/cli/latest/immuta_cli_SHA256SUMS.
2 - Configure the CLI with Your Immuta Tenant
Run
immuta configure
.Enter the URL of your Immuta tenant in the interactive prompt.
Enter your Immuta API Key in the interactive prompt:
Below is the configuration file that will be saved at ~/.immutacfg.yaml
:
3 - Install Tab Completions
To generate shell completion scripts for Immuta CLI commands, run immuta completion [bash|zsh|fish|powershell]
. You can opt to specify -h
or --help
for instructions on installing tab completions for Bash, Zsh, Fish, and PowerShell commands and flags.
Use the tabs below for specific instructions for each of these shells.
Install bash-completion https://github.com/scop/bash-completion.
Add this to your
~/.bash_profile
:
The exact configuration file locations might vary based on your system. Make sure to restart your shell before you test whether completions are working.
Last updated