3.2.27. tools write-config

This command will prompt for the Connection Options, test if the supplied values connect properly, then write the variables to a .env file in the current working directory.

3.2.27.1. Examples

3.2.27.2. Help Page

3.2.27.2.1. axonshell tools write-config

Create/Update a ‘.env’ file with url, key, and secret.

axonshell tools write-config [OPTIONS]

Options

-u, --url <URL>

Required URL of an Axonius instance

-k, --key <KEY>

Required API Key (or username if credentials=True) of user in an Axonius instance

-s, --secret <SECRET>

Required API Secret (or password if credentials=True) of user in an Axonius instance

-e, --env <env>

Path to .env file when –export-format==env

Default:

/home/docs/checkouts/readthedocs.org/user_builds/axonius-api-client/checkouts/latest/docs/.env