Update managing-config.mdx (#29225)

* Update managing-config.mdx

* Update apps/docs/content/guides/cli/managing-config.mdx

---------

Co-authored-by: Charis <26616127+charislam@users.noreply.github.com>
This commit is contained in:
Zafranudin ZafrinandCharis authored and GitHub committed 2024-09-11 17:57:41 +00:00
1 parent 33ede6f893
commit 91e65cce36
1 file changed
+14
@@ -26,6 +26,20 @@ redirect_uri = "" # Overrides the default auth redirectUrl.
You can reference environment variables within the `config.toml` file using the `env()` function. This will detect any values stored in an `.env` file at the root of your project directory. This is particularly useful for storing sensitive information like API keys, and any other values that you don't want to check into version control.
```
.
├── .env
├── .env.example
└── supabase
└── config.toml
```
<Admonition type="danger">
Do NOT commit your `.env` into git. Be sure to configure your `.gitignore` to exclude this file.
</Admonition>
For example, if your `.env` contained the following values:
```bash