# login credentials

Learn how to authenticate using email and password.

This command authenticates your session using email and password credentials. If you omit any options, the CLI will prompt you for the missing information interactively.

## Usage

This command has the following syntax:

```sh
croct login credentials <options>
```

## Example

Authenticate interactively:

```sh
croct login credentials
```

Authenticate non-interactively with email and password:

```sh
croct login credentials --username user@example.com --password your-password
```

## Options

Besides the [global options](../global-options), this command accepts the following options:

- `--username, -u`: `string` (optional)

  The email address.

- `--password, -p`: `string` (optional)

  The password.

## Explore

- [Login](/reference/cli/commands/login): Learn how to authenticate via browser.
- [Logout](/reference/cli/commands/logout): Learn how to terminate your current session.
