login

Last updated: May 29, 2026

Authenticate mpcli interactively.

Usage

mpcli login [flags]

Arguments

This command has no positional arguments.

Flags

This command has no command-specific flags.

Behavior

mpcli login prompts for an authentication method and writes credentials into .mpcli.json in your home directory, or to the file provided via --config.

Newly onboarded users are often provided an mpcli.json with initial values, including legacy credentials, so commands can run immediately.

Create API keys from the Multiplay dashboard API Keys page at https://dashboard.multiplay.dev.

  1. API key (default)

  2. Legacy credentials (AccessKey and SecretKey)

Related

  • Global flags

  • Command reference index