Skip to content

Commit a776561

Browse files
committed
Add deprecation warning for -keypath and -saltpath CLI args
1 parent 7bfbb9f commit a776561

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

docs/configuration/options.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,10 @@ You can also specify file paths using the command line by referencing a separate
2222
imgproxy -keypath /path/to/file/with/key -saltpath /path/to/file/with/salt
2323
```
2424

25+
:::warning
26+
`-keypath` and `-saltpath` command line arguments are deprecated and will be removed in imgproxy v4. Please use `IMGPROXY_KEY` and `IMGPROXY_SALT` environment variables instead.
27+
:::
28+
2529
If you need a random key/salt pair really fast, as an example, you can quickly generate one using the following snippet:
2630

2731
```bash

0 commit comments

Comments
 (0)