The Aiven command line interface (CLI) lets you use the Aiven platform and services in a scriptable way through the API.
avn utility is a Python package that you can install using
pip install aiven-client
You can also use Homebrew to install it:
brew install aiven-client
To check your installation run
There are two options for authenticating. The first is to use your email and password:
To log in with your email, run:
avn user login EMAIL_ADDRESS
When prompted, enter your password.
For increased security, you can use an authentication token by running this command:
avn user login EMAIL_ADDRESS --token
Top-level commands for the Aiven CLI.
Handle the accounts you have access to, and also configure the teams for the accounts.
Find more info on the help article about Accounts, Teams, Members and Roles
A set of administrative commands to set up billing groups and manage which projects should be linked to which billing group. Find more information in the User Guide for Billing Groups.
The billing group command also enables access to the credit code features, and detailed invoice line data.
avn cloud list to get a list of all available clouds on Aiven.
This is useful for looking up the cloud name to use with
Claim or view the history of credit codes.
Inspect the events on your account such as the services created/deleted, and which users triggered each event.