`EDGEDB_SECRET_KEY` is sometimes ignored by the CLI
- Dominant language
- Rust
- Stars
- 175
- Forks
- 32
- PR merge metrics
- No merged PRs in 30d
Description
When trying to connect to an EdgeDB Cloud instance via CLI providing the secret key via the `EDGEDB_SECRET_KEY` env var and the instance name via CLI option, the user receives an error: `edgedb error: NoCloudConfigFound: connecting cloud instance requires a secret key`
If you instead provide both via environment variable, the CLI connects as expected.
- EdgeDB Version: 4.2
- EdgeDB CLI Version: 4.0.2+500be79
- OS Version: macOS 14.0
Steps to Reproduce:
1. Create an EdgeDB Cloud instance
2. Create (and capture) a secret key
3. Run `edgedb cloud logout`
4. Try to connect to your instance with this:
```
EDGEDB_SECRET_KEY="" edgedb -I
```
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.