Back to Prisma1

`prisma token`

docs/1.12/04-Reference/07-CLI-Command-Reference/02-Database-Service/05-prisma-token.md

1.34.12497 B
Original Source

prisma token

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

Usage

sh
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.
sh
prisma token
Copy service token to clipboard.
sh
prisma token --copy