copia-cli auth login

copia-cli auth login [flags]

Authenticate with a Copia host. The default hostname is app.copia.io.

The default authentication mode is interactive, prompting for a token. Use –host and –token for non-interactive login in CI environments.

Token precedence: –token flag > COPIA_TOKEN env var > config file.

Options

--host <string>
Copia instance hostname (default: app.copia.io)
--token <string>
Personal access token

Options inherited from parent commands

-R, --repo <string>
Select repository (owner/repo)

Examples

  # Interactive login
  $ copia-cli auth login

  # Non-interactive login (CI/agent)
  $ copia-cli auth login --host app.copia.io --token YOUR_TOKEN

See also