Add vault docs

This commit is contained in:
Maidul Islam
2022-12-25 00:04:44 -05:00
parent 2513250993
commit 7f51aaf451
6 changed files with 81 additions and 7 deletions

View File

@@ -4,10 +4,27 @@ title: "Usage"
Prerequisite: [Install the CLI](/cli/overview)
## Authenticate
<Tabs>
<Tab title="Local development">
To use the Infisical CLI in your development environment, you can run the command below.
This will allow you to access the features and functionality provided by the CLI.
```bash
infisical login
```
</Tab>
<Tab title="Infisical Token">
To use Infisical CLI in environments where you cannot run the `infisical login` command, you can authenticate via a
Infisical Token instead. Learn more about [Infisical Token](../getting-started/dashboard/token).
</Tab>
</Tabs>
## Initialize Infisical for your project
```bash
# move to your project
# navigate to your project
cd /path/to/project
# initialize infisical