Authentication Commands

The authentication commands manage your CRE credentials and account information.

cre login

Starts the authentication flow. This command opens your browser for user login and saves your credentials locally.

Usage:

cre login

Authentication steps:

  1. The CLI opens your default web browser to the login page
  2. Enter your account email address
  3. Enter your account password
  4. Enter your one-time password (OTP) from your authenticator app
  5. The CLI automatically captures and saves your credentials locally

cre logout

Revokes authentication tokens and removes local credentials. This invalidates the current authentication tokens and deletes stored credentials from your machine.

Usage:

cre logout

cre whoami

Shows your current account details. This command fetches and displays your account information, including your email and organization ID.

Usage:

cre whoami

Authentication workflow

The typical authentication flow:

  1. cre login — Authenticate with the CRE UI (browser-based)
  2. cre whoami — Verify your authentication and account details
  3. Perform CLI operations — Deploy, manage workflows, etc.
  4. cre logout — (Optional) Revoke credentials when done

Learn more

Get the latest Chainlink content straight to your inbox.