Skip to main content

Authentication Commands

EigenX CLI requires authentication to sign transactions for deploying and managing applications. Use these commands to help you manage authentication credentials securely.

Commands Overview

CommandDescriptionAliases
eigenx auth generateGenerate new private key and optionally store itgen, new
eigenx auth loginStore existing private key in OS keyring-
eigenx auth whoamiShow current authentication status and address-
eigenx auth listList all stored private keys by environment-
eigenx auth logoutRemove private key from OS keyring-

Subcommands

generate

Generate a new authentication key with optional secure storage. For more information on creating authentication keys, refer to Create Authentication Keys.

eigenx auth generate [--store] [--env <environment>]
FlagDescription
--storeStore the generated private key in OS keyring
--env <environment>Specify environment for the key. Default is current environment.

login

Store an existing authentication key securely in your OS keyring. For more information on logging in to EigenX, refer to Manage Authentication Keys.

eigenx auth login [--private-key <key>] [--env <environment>]
FlagDescription
--private-key <key>Provide private key directly (not recommended)
--env <environment>Specify environment for the key. Default is current environment.

whoami

Display current authentication status and wallet address. For more information on checking your authentication status, refer to Manage Authentication Keys.

eigenx auth whoami

list

List all stored authentication keys organized by environment. For more information on listing keys, refer to Manage Authentication Keys.

eigenx auth list

logout

Remove stored authentication keys from your OS keyring.

eigenx auth logout [--env <environment>] [--all]
FlagDescription
--env <environment>Specify environment to logout from. Default is current environment.
--allRemove keys from all environments