infisical user
Manage logged in users
Description
This command allows you to manage the current logged in users on the CLI
Sub-commands
infisical user switch
infisical user switch
Use this command to switch between profiles that are currently logged into the CLI
infisical user update domain
infisical user update domain
With this command, you can modify the backend API that is utilized for all requests associated with a specific profile. For instance, you have the option to point the profile to use either the Infisical Cloud or your own self-hosted Infisical instance.
infisical user get token
infisical user get token
Use this command to get your current Infisical access token and session information. This command requires you to be logged in.
The command will display:
- Your session ID
- Your full JWT access token
Example output:
Flags
--plain
--plain
Output only the JWT token without formatting (no session ID)
Default value: false
Example output: