modal token

Manage tokens.

Usage:

modal token [OPTIONS] COMMAND [ARGS]...

Options:

  • --help: Show this message and exit.

Commands:

  • new: Creates a new token by using an…
  • set: Set account credentials for connecting to…

Creates a new token by using an authenticated web session.

Usage:

modal token new [OPTIONS]

Options:

  • --env TEXT: Modal profile to set credentials for. You can switch the currently active Modal profile with the modal profile command. If unspecified, uses default profile.
  • --profile TEXT: Modal profile to set credentials for. You can switch the currently active Modal profile with the modal profile command. If unspecified, uses default profile.
  • --no-verify / --no-no-verify: [default: no-no-verify]
  • --help: Show this message and exit.

Set account credentials for connecting to Modal. If not provided with the command, you will be prompted to enter your credentials.

Usage:

modal token set [OPTIONS]

Options:

  • --token-id TEXT: Account token ID.
  • --token-secret TEXT: Account token secret.
  • --env TEXT: Modal profile to set credentials for. You can switch the currently active Modal profile with the modal profile command. If unspecified, uses default profile.
  • --profile TEXT: Modal profile to set credentials for. You can switch the currently active Modal profile with the modal profile command. If unspecified, uses default profile.
  • --no-verify / --no-no-verify: [default: no-no-verify]
  • --help: Show this message and exit.