Skip to content

Commit e2dd106

Browse files
felixfonteinmd42
andcommitted
use bullet points for structure
add newline before sublist start add newline before sublist start Apply suggestions from code review. Converted from getsops/sops@b799dd1 and getsops/sops@ea21150 and getsops/sops@19341b8 and getsops/sops@285d117 Co-authored-by: Martin Dürrmeier <857448+md42@users.noreply.github.com> Signed-off-by: Martin Dürrmeier <857448+md42@users.noreply.github.com> Signed-off-by: Felix Fontein <felix@fontein.de>
1 parent d004164 commit e2dd106

1 file changed

Lines changed: 19 additions & 9 deletions

File tree

content/en/docs/_index.md

Lines changed: 19 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -230,15 +230,25 @@ $ sops encrypt --age age1yt3tfqlfrwdwx0z0ynwplcr6qxcxfaqycuprpmy89nr83ltx74tqdps
230230

231231
When decrypting a file with the corresponding identity, SOPS will look
232232
for a text file name `keys.txt` located in a `sops` subdirectory of your
233-
user configuration directory. On Linux, this would be
234-
`$XDG_CONFIG_HOME/sops/age/keys.txt`. On macOS, this would be
235-
`$HOME/Library/Application Support/sops/age/keys.txt`. On Windows, this
236-
would be `%AppData%\sops\age\keys.txt`. You can specify the location of
237-
this file manually by setting the environment variable
238-
**SOPS_AGE_KEY_FILE**. Alternatively, you can provide the key(s)
239-
directly by setting the **SOPS_AGE_KEY** environment variable.
240-
Alternatively, you can provide a command to output the age keys
241-
by setting the **SOPS_AGE_KEY_CMD** environment variable.
233+
user configuration directory.
234+
235+
* **Linux**
236+
237+
- Looks for `keys.txt` in `$XDG_CONFIG_HOME/sops/age/keys.txt`;
238+
- Falls back to `$HOME/.config/sops/age/keys.txt` if `$XDG_CONFIG_HOME` isn't set.
239+
240+
* **macOS**
241+
242+
- Looks for `keys.txt` in `$HOME/Library/Application Support/sops/age/keys.txt`.
243+
244+
* **Windows**
245+
- Looks for `keys.txt` in `%AppData%\sops\age\keys.txt`.
246+
247+
You can override the default lookup by:
248+
249+
* setting the environment variable **SOPS_AGE_KEY_FILE**;
250+
* setting the **SOPS_AGE_KEY** environment variable;
251+
* providing a command to output the age keys by setting the **SOPS_AGE_KEY_CMD** environment variable.
242252
243253
The contents of this key file should be a list of age X25519 identities,
244254
one per line. Lines beginning with `#` are considered comments and

0 commit comments

Comments
 (0)