Skip to content

Commit ec27789

Browse files
authored
Add note on environment variable support to README.md
1 parent 2c64f43 commit ec27789

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ seqcli config set -k connection.serverUrl -v https://your-seq-server
1919
seqcli config set -k connection.apiKey -v your-api-key
2020
```
2121

22-
The API key will be stored in your `SeqCli.json` configuration file; on Windows, this is encrypted using DPAPI; on Mac/Linux the key is stored in plain text unless an encryptor is defined in `encryption.encryptor`. As an alternative to storing the API key in configuration, it can be passed to each command via the `--apikey=` argument.
22+
The API key will be stored in your `SeqCli.json` configuration file; on Windows, this is encrypted using DPAPI; on Mac/Linux the key is stored in plain text unless an encryptor is defined in `encryption.encryptor`. As an alternative to storing the server URL and API key in configuration, they can be passed to each command via the `--server=` and `--apikey=` arguments, or in the `SEQCLI_CONNECTION_SERVERURL` and `SEQCLI_CONNECTION_APIKEY` environment variables.
2323

2424
`seqcli` is also available as a Docker container under [`datalust/seqcli`](https://store.docker.com/community/images/datalust/seqcli):
2525

0 commit comments

Comments
 (0)