Azure / Azure/data-api-builder

[Bug]: Unable to use .env file as expected

Open
#3,436 1 comment 0 reactions 0 assignees View on GitHub
bug triage
Dominant language
C#
Stars
1.5k
Forks
370
Avg merge
3d 17h
Merged PRs (30d)
8

Description

### What happened?

The DAB documentation states that we should put the .env file next to the config file, however, the .env file is not used unless it is in the same directory as where we run the command `dab start`.

Unsure if it is an issue related to the feature or to documentation.

https://learn.microsoft.com/en-us/azure/data-api-builder/concept/config/env-function#:~:text=Keep%20.env%20adjacent%20to%20dab%2Dconfig.json%20(or%20wherever%20your%20startup%20process%20expects%20it).

### Version

2.0.0-rc

### What database are you using?

Azure SQL

### What hosting model are you using?

Local (including CLI)

### Which API approach are you accessing DAB through?

_No response_

### Relevant log output

```Text

```

### Code of Conduct

- [x] I agree to follow this project's Code of Conduct

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.