Back to Prisma1

Prisma Token Xcv5

docs/1.23/prisma-cli-and-configuration/cli-command-reference/prisma-token-xcv5.mdx

1.34.12564 B
Original Source

export const meta = { title: "prisma token", position: 160, }

$ prisma token

Generate a new service token. The service token is a JWT that is signed with the service secret.

Usage

bash
prisma token [flags]

Flags

-c, --copy                 Copy token to clipboard
-e, --env-file ENV-FILE    Path to .env file to inject env vars

Examples

Print service token

bash
prisma token

Copy service token to clipboard

bash
prisma token --copy