This command is deprecated and will be removed in the near future. Please switch to using Machine Identities for authenticating with Infisical.

infisical service-token create --scope=dev:/global --scope=dev:/backend --access-level=read --access-level=write

Description

The Infisical service-token command allows you to manage service tokens for a given Infisical project. With this command, you can create, view, and delete service tokens.

Use this command to create a service token

$ infisical service-token create --scope=dev:/backend/** --access-level=read --access-level=write

Flags