mirror of
https://github.com/awatertrevi/infisical.git
synced 2026-09-22 13:39:35 +00:00
add docs for infisical user command
This commit is contained in:
@@ -9,4 +9,7 @@ infisical login
|
||||
|
||||
## Description
|
||||
The CLI uses authentication to verify your identity. When you enter the correct email and password for your account, a token is generated and saved in your system Keyring to allow you to make future interactions with the CLI.
|
||||
If you want to change where the login credentials are stored, visit the [vaults command](./vault)
|
||||
|
||||
To change where the login credentials are stored, visit the [vaults command](./vault).
|
||||
|
||||
If you have added multiple users, you can switch between the users by using the [user command](./user).
|
||||
29
docs/cli/commands/user.mdx
Normal file
29
docs/cli/commands/user.mdx
Normal file
@@ -0,0 +1,29 @@
|
||||
---
|
||||
title: "infisical user"
|
||||
description: "Manage logged in users"
|
||||
---
|
||||
|
||||
```bash
|
||||
infisical user
|
||||
```
|
||||
|
||||
## Description
|
||||
This command allows you to manage the current logged in users on the CLI
|
||||
|
||||
### Sub-commands
|
||||
<Accordion title="infisical user switch" defaultOpen="true">
|
||||
Use this command to switch between profiles that are currently logged into the CLI
|
||||
|
||||
```bash
|
||||
infisical user switch
|
||||
```
|
||||
</Accordion>
|
||||
|
||||
<Accordion title="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.
|
||||
|
||||
```bash
|
||||
infisical user update domain
|
||||
```
|
||||
</Accordion>
|
||||
Reference in New Issue
Block a user