Back to Prisma

auth

apps/docs/content/docs/cli/console/auth.mdx

latest815 B
Original Source

The prisma platform auth command manages authentication with Prisma Console.

Usage

bash
prisma platform auth [action] [options] --early-access

Actions

ActionDescription
loginLog in to Console
showDisplay authenticated user info
logoutLog out of Console

Options

OptionDescription
-h, --helpDisplay help message

Examples

Log in to Console

npm
npx prisma platform auth login --early-access

Display authenticated user

npm
npx prisma platform auth show --early-access

Log out

npm
npx prisma platform auth logout --early-access