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 the scope flag to define which environments and paths your service token should be authorized to access.
The value of your scope flag should be in the following <environment slug>:<path>.
Here, environment slug refers to the slug name of the environment, and path indicates the folder path where your secrets are stored.
For specifying multiple scopes, you can use multiple —scope flags.
The project ID you’d like to create the service token for.
By default, the CLI will attempt to use the linked Infisical project in .infisical.json generated by infisical init command.