Update API_URL to INFISICAL_API_URL

This commit is contained in:
Maidul Islam
2023-01-21 13:14:39 -08:00
parent b91dc9e43e
commit 840efbdc2f
2 changed files with 4 additions and 4 deletions

View File

@@ -109,11 +109,11 @@ infisical login
The CLI is set to connect to Infisical Cloud by default, but if you're running your own instance of Infisical, you can direct the CLI to it using one of the methods provided below.
#### Export environment variable
You can point the CLI to the self hosted Infisical instance by exporting the environment variable `API_URL` in your terminal.
You can point the CLI to the self hosted Infisical instance by exporting the environment variable `INFISICAL_API_URL` in your terminal.
```bash
# Example
export API_URL="https://your-self-hosted-infisical.com/api"
export INFISICAL_API_URL="https://your-self-hosted-infisical.com/api"
```
#### Set manually on every command