Skip to content

Authentication

Authenticate the Kite CLI to manage your Kiteploy resources.

Login

kite login

Or with email/password:

kite login --email [email protected] --password mypassword

Or with GitHub:

kite login --github

Shortcut: kite login is equivalent to kite auth login.

Check Current User

kite auth whoami

API Keys

For CI/CD environments or programmatic access:

# Create an API key
kite auth api-key create my-ci-key

# List API keys
kite auth api-key list

# Use an API key
kite auth api-key use kp_live_xxxxxxxxxxxx

# Delete an API key
kite auth api-key delete <id> --yes

Debug Token

Print the current access token (for debugging):

kite auth token

Logout

kite logout

Warning

Logging out removes stored credentials from your machine.

Environment Variables

For CI/CD, you can authenticate using environment variables:

Variable Description
KITE_API_KEY API key for authentication
export KITE_API_KEY="kp_live_xxxxxxxxxxxx"
kite workspace list